
Memory leak in WorldAttached class
Rasmion opened this issue ยท 0 comments
Describe the Bug
[Issue forwarded from Fabricators-of-Create/issues/491]
WorldAttached seems to have problems with removing unloaded worlds. Flywheel also has a WorldAttached class in which this bug is probably fixed, at least there are comments that suggest this.
Reproduction Steps
- Build some constraptions in your world
- Switch the world a few times
- Notice the memory increase
Expected Result
There should be no memory leak, which eventually leads to lag spikes and crashes.
Screenshots and Videos
net.minecraft.class_638 -> ServerLevel
Crash Report or Log
No response
Operating System
Windows 11
Mod Version
0.5.0c
Minecraft Version
1.18.2
Forge Version
1.18.2 - 40.1.68
Other Mods
No response
Additional Context
No response