There’s no concrete solution to the sudden and unexplained lag as far as I’m aware of, the best you can try is to fiddle around with settings. Links: [1], [2].