I've had issues with lag spikes ever since last year on Curseforge Launcher. It happens in singleplayer and multiplayer mode. I get random spikes where everything just dips in frames for a second, it's caused me to mess up builds, misclick, everything. I was told to change to the ATLauncher, however after a week, I'm still getting massive spikes every few seconds, and it's due to the memory bin emptying. I have it set at 6 gigs right now, and don't plan on adding anymore. I've tried everything from reinstalling to changing to Prism and Curseforge again. I just don't know what to do. I have 16g ram and a 3060.
#ATLauncher Memory Bin Lag Spikes BCG+ 2.0
10 messages · Page 1 of 1 (latest)
here are some optimized JVM args you can try
-Xmx6G -Xms6G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M -XX:+ParallelRefProcEnabled
although mess with the ram
These JVM args will enable the G1 garbage collector
this JDK is also better at garbage collecting then other JDKs out there so its worth trying to switch to Azul Zulu 17 https://www.azul.com/downloads/#zulu
Memory Bin emptying is often associated with Garbage collection so these steps are pretty optimal to your situation assuming they havent already been tried
I'd also try to find out if your GPU drivers are up to date and your storage configuration is in good health i.e SSD, Nvme, etc
In the ATLauncher, does that go in the "Java Paramaters?"
Ya
OK, I put that in and it's running smoother already