Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Java gc creating lag spikes #580

Closed
PapaPumpkinnn opened this issue Sep 22, 2024 · 4 comments
Closed

Java gc creating lag spikes #580

PapaPumpkinnn opened this issue Sep 22, 2024 · 4 comments

Comments

@PapaPumpkinnn
Copy link

PapaPumpkinnn commented Sep 22, 2024

i dont know what to do i allocated 10gb of ram to atm10 and my memory usage keeps increasing and then suddently deecreasing causing lag i have tried to up my ram to 16gb and still have this issue even when i put only 8 i even tried with 5 and still nothing i need help
my pc has 32gb of ram and i have an 3080 i shouldnt have these issues if anyone knows something pls help
i really love atm modpacks so i really want to play it

@HistoriaGamer
Copy link

Yeah I'm having this issue as well. been having this issue on ANY 1.21 pack. Not sure what could be causing it. It almost feels like a mod is causing a Memory leak. I also have a 3080.

@TheBedrockMaster TheBedrockMaster added the Bug Something isn't working label Oct 27, 2024
@leagris
Copy link

leagris commented Nov 10, 2024

Memory leak on player death in ATM10 1.17a is so dramatic that it requires a full game restart to clear.

@alekthefirst alekthefirst removed the Bug Something isn't working label Dec 22, 2024
@alekthefirst
Copy link
Contributor

i dont know what to do i allocated 10gb of ram to atm10 and my memory usage keeps increasing and then suddently deecreasing causing lag

This is normal java garbage collection, the bane of all minecraft players. With ATM10 and other 1.21 packs, having overwolf on the computer has introduced a second source of similar stuttering. Removing overwolf would be the only resolution there. For normal java gc, since you have ram to spare, we recommend using the ZGC arguments instead
-XX:+UseZGC -XX:+ZGenerational -XX:+DisableExplicitGC -XX:+AlwaysPreTouch -XX:+PerfDisableSharedMem -XX:+UseDynamicNumberOfGCThreads

@alekthefirst alekthefirst changed the title my memory keeps going up and creates lag spikes Java gc creating lag spikes Dec 22, 2024
@alekthefirst
Copy link
Contributor

For @HistoriaGamer and @leagris
We are aware of several memory leaks and are working to resolve them with their individual mod authors
#292 will have status updates on them

@alekthefirst alekthefirst closed this as not planned Won't fix, can't repro, duplicate, stale Dec 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants