Memory leak on change dimensions (+Create mod)
ViRb3 opened this issue ยท 3 comments
What happened?
Oculus causes a bug in Create's underlying rendering engine, Flywheel, where it causes ClientLevel references to never be unloaded. When changing dimensions, such as teleporting to nether end back, an additional instance of the class is held, which permanently increases memory usage by up to 300MB on big modpacks. This never clears, even on disconnect, and forces the game to need a restart frequently. Shaders don't need to be enabled for this to happen. Create does not exhibit this bug when Oculus is removed.
Screenshots
Relevant log output
No response
Minecraft Version
1.20.1
Oculus Version
1.7.0
Rubidium / Embeddium Version
0.3.18
Operating System
macOS 14.5
What is your GPU?
M3 Max
Java Version
Java 17.0.2 arm64
Additional context
No response
Can confirm on 1.19.2.
FIxed for 1.19.2
KostromDan@f884847