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!•3mo ago
Cat!
Cat!•3mo ago
its pretty bad
Natalya
Natalya•3mo ago
Does F3 show huge memory usage fluctuations? Do you have the distant generator enabled?
Cat!
Cat!•3mo ago
Distant generator is on yes
Cat!
Cat!•3mo ago
this is with the f3 menu
Cat!
Cat!•3mo ago
doesnt go above 70
Natalya
Natalya•3mo ago
2GB allocated with distant generation on 💀 Yeah, generation is hungry for your memory, and it's absolutely destroying you right now.
Cat!
Cat!•3mo ago
ive had it up to 8 gugs did nothing
Natalya
Natalya•3mo 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!•3mo ago
How does one do that
Natalya
Natalya•3mo ago
-XX:+UseZGC JVM arg
Cat!
Cat!•3mo ago
Do i put that where the line ofr chaning the ram is at Or do i replace it with G1GC Hello?
TheNewSky
TheNewSky•3mo 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
TheNewSky•3mo ago
GitHub
GitHub - Soapy7261/ZGC-For-Minecraft
Contribute to Soapy7261/ZGC-For-Minecraft development by creating an account on GitHub.
TheNewSky
TheNewSky•3mo ago
I haven't really looked through this but someone this page about using zgc for minecraft if you want to try those arguments