Lothrazar / Cyclic

Minecraft mod written in Java
MIT License
156 stars 95 forks source link

HashMap memory leak #2383

Open manugame opened 3 months ago

manugame commented 3 months ago

Minecraft Version: 1.19.2

Forge Version: 43.3.8

Mod Version: 1.8.2

Single Player or Server: Server

Describe problem (what you were doing; what happened; what should have happened):

On heavy modpacks, the recipe cache from UtilPackager seems to leak a lot of memory when reconnecting to a server. I can provide you my memory dump if you need it.

Log file link: none

Video/images/gifs (direct upload or link): image

PocketSizedWeeb commented 2 months ago

How did you generate the memory dump? I may have found the reason, but want to check myself before I submit it.

manugame commented 2 months ago

How did you generate the memory dump? I may have found the reason, but want to check myself before I submit it.

Using /sparkc heapdump

Dump are located in /config/spark