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
Jaxpo
JaxpoOP6d ago
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.
Jaxpo
JaxpoOP6d ago
Looks like it crashed after running for a little longer:
пшш
пшш5d ago
how much is the idle memory usage, without the server running?
Jaxpo
JaxpoOP4d ago
less than 1GB its on ubuntu server and nothing fancy going on
Jaxpo
JaxpoOP4d ago
No description
Jaxpo
JaxpoOP4d ago
idle memory usage
Jaxpo
JaxpoOP4d ago
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.
Jaxpo
JaxpoOP4d ago
also these chunks are freaky outside render distance
No description
No description
Jaxpo
JaxpoOP3d ago
Testing the exact same modpack with distant horizons removed on the server side to confirm it is the source of the memory leak

Did you find this page helpful?