Crash on startup (with the example animation)
Archilyte opened this issue ยท 5 comments
Describe the bug
The mod crashes on startup when I try to load this
To Reproduce
Steps to reproduce the behavior:
- Put the animation file on config
- Run Minecraft
- Crash (Log)
Expected behavior
The menu animation should load properly
Basic Informations (please complete the following information):
- OS: Windows 10
- FancyMenu Version 0.4.2
- Forge Version 2.8.21
- Minecraft Version 1.14.4
- Active Mods: Optifine HD U F5, AuthMe, Performant
That happens because you run out of memory (RAM). Loading large animations requires lots of RAM. You can fix this by assigning some more memory to Minecraft. Around 4GB of RAM should be enough to load big animations.
I will try to add some sort of memory-check in one of the next updates to prevent minecraft from crashing. Thank you for the report!
I think you had not enough free RAM left (because of too much stuff running in the background) ^^
The animation loading process got improved in FancyMenu v0.4.3 and is now more optimized to use less memory.
I hope this helps a little bit. I tried to add a good way to check if an animation would need too much memory to load, but every method to check this would use even more memory.. OutOfMemoryErrors can still happen, but the chance should be lower now.