Sodium

Sodium

35M Downloads

Frequent Lag spikes and micro stutters

sunias opened this issue · 9 comments

commented

I get lag spikes or micro stutters every ~5-10 seconds

commented

image
i am using 1.16.3

commented

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

commented

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.

commented

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"

commented

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

commented

Have you tried using sodium ONLY before using your own modpack to see if this issue would go away?

commented

I think this should be closed, doesn't seem like an issue with sodium

commented

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

commented

Closing as a question, since this is a support issue.