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

Opening Mods list causes huge memory spike #727

Open
SnipUndercover opened this issue May 3, 2024 · 0 comments
Open

Opening Mods list causes huge memory spike #727

SnipUndercover opened this issue May 3, 2024 · 0 comments

Comments

@SnipUndercover
Copy link

Hi! I'm relatively new to modded Minecraft and I'm not sure whether this is the right outlet to report such an issue.

Opening the mods menu with around 44 mod .jars causes Minecraft to freeze, following a massive, more than three-fold increase in memory usage.

The following screenshots are taken while opening the menu in the title screen.
Before:
Memory usage before opening Mods menu: around 2700 MB

After:
Memory usage after opening Mods menu: around 9200 MB

After Minecraft unfreezes and the memory spike is over, the JVM seems allocate 1GB more than before, idling at 3664 MB compared to 2693 MB.
If allowed to reach the memory cap, the freeze and memory spike will take longer.
(The client has access to 8 GB of ram via -Xmx8G; I have 32 GB installed)

On one occasion I have managed to cause Minecraft to crash due to a lack of available memory, but I cannot reproduce this again.
Here's the crash log if it's of any use.

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

1 participant