Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Minecraft Forge Server keeps getting killed by OOM Killer. Forge 1.19.2. Ubuntu Server.

Featured Replies

Posted

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

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.

  • 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

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.

  • 2 weeks later...
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 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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.