Bobby causing massive memory leaks when loading terrain
Saraldar opened this issue ยท 3 comments
I've noticed that when I play on servers that has me switching worlds every time it does it, it loads at least half a gb of memory that doesn't go away unless I restart mc entirely.
The issue seems to only be with bobby installed.
I had the same issue but on switching dimensions on my server, uninstalling bobby fixed it. without bobby memory resets to a baseline of ~1Gb no matter how many dimension switches occur, with bobby it too starts at 1Gb but increases by the already mentioned 500mb - 1Gb every dimension switch never going down to the baseline even after a manually trigger cleaning cycle, quitting the world or just waiting. I found that changing resource packs helps for some reason, though i cannot confirm that that isn't just incidental.
Cannot reproduce.
Here's what I did:
- Set Singleplayer Server View Distance in Bobby options to 12
- Set Render Distance to 96
- Create new creative world
- Fly around until around 1400 chunks are loaded by Bobby
/execute in minecraft:the_nether run tp @p ~ ~ ~
/execute in minecraft:overworld run tp @p ~ ~ ~
- Take note of minimum memory usage value in F3 (~950MB for me)
- Repeatedly run 5 and 6 for ~20 times
- Look at min memory usage again, still ~950MB for me