Posted February 2, 20232 yr Hello, I recently uploaded my Minecraft Forge Server on my Ubuntu VPS. It was working great on my personal computer but for availability purpose we wanted it to be hosted. The mods that are on the server are Twilight Forest, Apotheosis, More Minecarts and Sophisticated Backpacks. The host machine is on Ubuntu 22 and we have 8GB of RAM available, but we're only using 4. I tried with 6 but that doesn't seem to fix the error. The problem is that the server is getting killed by the OOM Killer of the Linux Kernel, I suspect a memory leak but I'm not an expert. The server only crash after 1h or so, the RAM usage keeps building during that time. I've tried to make dumps of the memory but that doesn't help me fixing things up. Below are several links, one for the Spark profiler, one for the Server Logs and one for the Memory Dump. Spark Profile : https://spark.lucko.me/qUC5wKDWGM Heap Dump : https://spark.lucko.me/uQhC5Ywrsk Logs : https://mclo.gs/RlY7jkr This imgur link shows you the result of the memory analyser of Eclipse https://imgur.com/a/6koLES2
February 3, 20232 yr I think we need a profile of when the server was being held up by the leak since the profile you sent doesn't really contain anything out of the ordinary, at least from my view.
February 5, 20232 yr Author The imgur link shows a memory dump of the crash but it's hard to get a profile of the exact moment of the crash since it happen pretty randomly
February 5, 20232 yr 4 hours ago, Moeve said: The imgur link shows a memory dump of the crash but it's hard to get a profile of the exact moment of the crash since it happen pretty randomly I saw, but the issue is that everything looks correct since it seems the memory leak was either caused after a certain point in time or was from some action. So unless you could profile the exact moment when the game starts to slow down, you may just have to remove mods and see whether the crash still occurs.
February 13, 20232 yr On 2/5/2023 at 9:06 PM, ChampionAsh5357 said: I saw, but the issue is that everything looks correct since it seems the memory leak was either caused after a certain point in time or was from some action. So unless you could profile the exact moment when the game starts to slow down, you may just have to remove mods and see whether the crash still occurs. Ok, thanks Edited March 21, 20232 yr by JonBaker
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.