Alright, so I bought 8 more gigs of ram. Now I have 16, I set the minimum to 4096Ms and the maximum to 8192Ms. Now the problem is that when I am playing in fullscreen mode, the server has a lag spike every (roughly) 5 minutes. If I am not playing at all, or only in windowed mode, it does not lag as much. What can be the problem?
Hello everyone!
So I spent the last few hours trying to find a solution for my problem.
Basically every 5 minutes (+-10 seconds) I get this error message. I tried putting this into my batch file:
but it did not work either, more than that, the lag spikes became longer.
My current batch file looks like this:
I tried setting the Xms and Xmx higher, but then I got the error message:
although I have free RAM when I am running the server.
What more could I do? How could I maybe set the Xms and Xms to 2GB? I tried these guides, but none of them worked.
https://bukkit.org/threads/complex-craftbukkit-server-and-java-problem-could-not-reserve-enough-space-for-object-heap.155192/
https://stackoverflow.com/questions/18040361/java-could-not-reserve-enough-space-for-object-heap-error
Any help is appreciated!
hi, i had same problem
i try latest spigot 1.14, 1.14.1 /with plugins/without plugins/with new maps/ ...nothing not works
..i replaced spigot with paperspigot and problem fixed (probably buildtools problem)
You need 64-bit Java to allocate more than about 1.5 gigs of RAM.
Alright, so I bought 8 more gigs of ram. Now I have 16, I set the minimum to 4096Ms and the maximum to 8192Ms. Now the problem is that when I am playing in fullscreen mode, the server has a lag spike every (roughly) 5 minutes. If I am not playing at all, or only in windowed mode, it does not lag as much. What can be the problem?
Post a screenshot with F3 enabled and your JVM arguments.
Here are the pictures. The first is of my JVM arguments and my folder, the two following are of the debug menu.
I still need help! Please!
Turn off mipmapping and biome blend and turn down render distance.