ForgeMultipart icon indicating copy to clipboard operation
ForgeMultipart copied to clipboard

TickScheduler memory/chunk leak

Open sfPlayer1 opened this issue 9 years ago • 4 comments

FMP version 1.7.10-1.1.3.127 references large quantities of chunks (~2 GB worth after 1 day) on FC2.

The few chunk objects I've checked were only referenced through codechicken.multipart.TickScheduler$WorldTickScheduler.chunkMap while the world reference in worldMap a few layers above is valid (referenced by DedicatedServer). Something about chunk unload handling isn't working properly.

I have a heap dump (1 GB compressed).

sfPlayer1 avatar Apr 17 '15 14:04 sfPlayer1

Does that FMP version even exist? Source: http://files.minecraftforge.net/ForgeMultipart/

Edit: There's no chunkMap field either, perhaps tickChunks?

Chicken-Bones avatar Apr 18 '15 04:04 Chicken-Bones

That's a CCL version - http://files.minecraftforge.net/CodeChickenLib/

chunkMap is a field in the superclass, WorldExtension

simon816 avatar Apr 18 '15 12:04 simon816

aah right, I misread that, I'll take a look

Chicken-Bones avatar Apr 18 '15 12:04 Chicken-Bones

Erm sorry, I derped. I wanted to file against CCL first, but forgot to update the version, the correct one is 1.7.10-1.1.1.323.

sfPlayer1 avatar Apr 18 '15 22:04 sfPlayer1