Memory Leak
Closed this issue · 3 comments
thelampgod commented
Unsure if it was introduced in the most recent commit or if it has existed for a while, but RAM usage seems to slowly increase over time when generating a PNG of a large world.
I have 64GB RAM and seem to run out of memory when trying to generate an image of my quite large world (100kx100k). I get to around 80% done before it closes. In the past I have had no problem generating image of even larger worlds like 256kx256k (one version viewable at https://hobune.stream/256k if interested)
thelampgod commented
after further tests im quite sure the memory leak is new from latest commit
ran two tests:
- with commit 92ef9fa: minutor used around 360mb ram after 10 % of processing my world. was quite stable didnt fluctuate too wildly
- with latest commit: minutor fluctuated between 420mb to 2.5gb used ram seconds between eachother after only processing 3 % of my world. looks like its trying to garbage collect but memory is increasing too fast
running the ubuntu 22.0.4 binary on a 1.21.1 world
EtlamGit commented
I can confirm changed memory usage.
thelampgod commented
fixed by #382