Frequent Lag spikes and micro stutters
sunias opened this issue · 9 comments
also happens to me
i was using zgc and then came back to the default in minecraft and still stutters
started when i use the 1.16.4 sodium snapshot
Please properly fill out the issue template. It exists so that we can more easily help you, and don’t have to make guesses about your configuration. We have no idea what other mods you are running, what version of Minecraft, or even if you have Sodium installed.
This is almost certainly a support issue as opposed to a bug, but I will leave this issue open for now to see what the preliminary information you provide is. The issue tracker is not a support forum however, this is only because a lot of code changes have been made to Sodium recently. Please copy and paste the information from the issue template and fill it in properly.
I can tell you right now; the issue is that there isn't enough memory allocated to Minecraft. The lag spikes are due to the garbage collector suddenly cleaning up excess ram. Go into your Minecraft launcher, under installations click on the fabric loader, and press "more options." In JVM arguments change -Xmx2G to -Xmx4G
Of course you need more ram in your computer than how much you set, but this will fix the "Frequent Lag spikes and micro stutters"
I can tell you right now; the issue is that there isn't enough memory allocated to Minecraft. The lag spikes are due to the garbage collector suddenly cleaning up excess ram. Go into your Minecraft launcher, under installations click on the fabric loader, and press "more options." In JVM arguments change -Xmx2G to -Xmx4G
Of course you need more ram in your computer than how much you set, but this will fix the "Frequent Lag spikes and micro stutters"
the game keeps making microstutters
Have you tried using sodium ONLY before using your own modpack to see if this issue would go away?
i think this is linked with a problem i have when some times when launching minecraft with sodium, puts a hard 30-39 mb cap on the vram
but this rarely happens
Closing as a question, since this is a support issue.