Excess RAM usage, stuttering and big lag spikes
Not sure if this is even DH related, but I'm using RC1 for 1.20.6
I'm getting tall red spikes like 3 times a second in my F2+2 menu and its stuttering like crazy. If I look at my task manager it shows me that Minecraft is eating a LOT of ram, and is pushing it to the swap file on a hard disk drive which is whats most likely slowing my game down. But I want to know why so much ram is being eaten in the first place? My DH settings are low, only a distance of like 348 on minimal graphics settings and low cpu usage. (No generation either) I suspect it might be another mod causing it, but I don't know where to look. I figured there are a lot of technical minds here who may know of some common issues with one of my mods. I've included the modlist in case anyone wants to look.
![No description](https://cdn.answeroverflow.com/1243285139534909461/image.png)
10 Replies
How much memory have you allocated?
8 GB
How much ram is Minecraft using in a task manager?
like 8.52 GB
RSS
That’s not an absurd amount
It’s gonna use up a little more than what you give it
As for the lag spikes
With the f3 menu open, look at the top right at the memory usage
Memory usage should be constantly going up and down
Do the lag spikes happen when the memory usage goes down?
I don't think it should
Try tuning your GC
from experience it always has
From my experience it never did
https://github.com/TheUsefulLists/UsefulMods/blob/main/JavaArgumentsOptimization.md
yea i have a ton of arguments
alternativly use ZGC or shenandoah gc
I mean not you, the autor of the post
That would be for the stuttering
for the usage try memory leak fix mods, and ferritecore
but I think it will only delay it