Jump to content

Forge Server hosted on Linux increasingly require more ram until 'insufficient memory for the Java' occur and force closed.


owlking

Recommended Posts

MC: 1.15.2 Forge: 31.1.48 server
Player at max: 10
Hosted on Amazon EC2 t3a.medium, 4GB ram.
debug.log - https://gist.github.com/intemptesta/6800ec95530a47eddd66889cf800e1c9

hs_err_pid2337.log  (Error created by Linux server.) - https://gist.github.com/intemptesta/55337e15dd20fd59a05a0257ad817600
Mod list: https://gist.github.com/intemptesta/ff62022956e7032882552072ea8cdb53
Run command:

cd /minecraft && java -Xms3600M -Xmx3800M -jar /minecraft/forge-1.15.2-31.1.48.jar nogui


-------------------------------------------------
Hello, I'm having problem with my Forge Server hosted on EC2 t3a.medium, Linux server with 4 GB ram.
At first the server will run smoothly with less than 2 GB ram usage. But after left running for a day or two, it will start requiring more and more ram, getting slow, and at some point force closed by Linux process.

 

I'm not really sure how to deal with this problem.

I tried increasing, decreasing, removing some mods, clearing some mobs to lessen server load etc. None of this worked.

 

Should I try using same value for Java heap size? Or any mod is the culprit for the ram hogging?
Thank you in advance.

Edited by owlking
Use links instead of spoiler for compact and easy to read.
Link to comment
Share on other sites

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...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

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