Store
Subscribe
Badlion lagging like crazy on Java GC (M1 Mac)
Hello!

I am running MacOS Ventura on M1, 16gb memory, and the most recent version of Badlion.


Versions tested, all affected:
Minecraft 1.8.9 with OptiFine
Minecraft 1.20.1 with OptiFine
Minecraft 1.8.9 without OptiFine
Minecraft 1.20.1 without Optifine

The effect is significantly less severe without Optifine, MC also GC's less without it.
Whenever Java GC's, the game freezes from 0.5-3 seconds while it is GCing.
Since there is no way to adjust JVM args in Badlion to make it run more efficiently, I made this post.

Any suggestions? Without OptiFine it isn't as bad, but still pretty bad.
With OptiFine it's about 2 seconds frozen every 15 seconds.
Without it's about 1 second frozen every 30 seconds.

I doubt my computer has an issue because:
- plugged in, so no cpu throttling is occuring
- badlion is using 4096mb, same as vanilla and total memory used on the system is about 11.5gb/16gb
- with other applications and badlion open, total cpu usage goes from 40-45% usage

Thanks for the help!
 0
PM Link