Server Memory Issues on Fabric 1.20.1
Fabric loader 0.16.10
I've been having some memory issues where the heap fills up completely as well as the swap memory while I am using the latest builds of DH (Issue was present in 1febade0 and replicated using commit 82e0cfe0). It tends to occur after leaving the server running for longer than a day, and it is possibly tied to chunk generation since I was generating large areas with the dh pregeneration both times (with a player online the first time and with /dh pregen most recently). I suspected distant horizons to be causing the issue when using commit 1febade0, removed the mod, let the server run for a couple of days and memory was stable and low even during stress testing with some people online. After re-adding distant horizons and using the latest commit the issue has re-appeared. The server is running lot of mods so it is possible it is a compatibility issue with a mod and not distant horizons alone. I'm going to leave the server running and continue to generate chunks, and I'll link the live spark profiler if it is helpful. Not in any hurry since this isn't a live server. Let me know if there is more info I can provide or different testing I should do.
9 Replies
Realized I forgot to link the profiler, here it is:
https://spark.lucko.me/q8Hv2JqxeD
spark
spark is a performance profiler for Minecraft clients, servers, and proxies.
Looks like it crashed after running for a little longer:
how much is the idle memory usage, without the server running?
less than 1GB
its on ubuntu server
and nothing fancy going on
idle memory usage
Going to be running with an updated modpack and switched to the latest nightly build for DH. I'll update if memory leaks are still a problem.
also these chunks are freaky outside render distance
Testing the exact same modpack with distant horizons removed on the server side to confirm it is the source of the memory leak