Micro stuttering

Hello, I have figured out that DH and possibly iris? Has been causing my game to stutter like crazy. I gave myself 8gb of ram and even turned DH settings down to low impact but pretty much every other frame my fps drops to 0.
15 Replies
Cat!
Cat!4mo ago
Cat!
Cat!4mo ago
its pretty bad
Natalya
Natalya4mo ago
Does F3 show huge memory usage fluctuations? Do you have the distant generator enabled?
Cat!
Cat!4mo ago
Distant generator is on yes
Cat!
Cat!4mo ago
this is with the f3 menu
Cat!
Cat!4mo ago
doesnt go above 70
Natalya
Natalya4mo ago
2GB allocated with distant generation on 💀 Yeah, generation is hungry for your memory, and it's absolutely destroying you right now.
Cat!
Cat!4mo ago
ive had it up to 8 gugs did nothing
Natalya
Natalya4mo ago
Every time the memory used goes down, that's the garbage collector triggering. Try changing your garbage collector to a lower latency one (ZGC or Shenandoah are good ones) and/or increase RAM to Minecraft so it's not starving for memory so often.
Cat!
Cat!4mo ago
How does one do that
Natalya
Natalya4mo ago
-XX:+UseZGC JVM arg
Cat!
Cat!4mo ago
Do i put that where the line ofr chaning the ram is at Or do i replace it with G1GC Hello?
TheNewSky
TheNewSky4mo ago
Same place where you change how much memory you allocated Just tack it onto the end of those arguments with a space separating it
TheNewSky
TheNewSky4mo ago
GitHub
GitHub - Soapy7261/ZGC-For-Minecraft
Contribute to Soapy7261/ZGC-For-Minecraft development by creating an account on GitHub.
TheNewSky
TheNewSky4mo ago
I haven't really looked through this but someone this page about using zgc for minecraft if you want to try those arguments