Jump to content

Recommended Posts

Posted

Hey everyone!

seems I'm having some trouble allocating Ram to my forge server which is causing some lag issues.

I've followed the user_jvm_args instructions and uncommented the line specifying the RAM usage but for some reason the server doesn't want to use all of it's available RAM.

I gave it 30Gigs just to be safe since I'm running a decent amount of mods with several people. I've also tried setting the minimum amount to see if that helps at all which it unfortunately didn't.

any Ideas would be greatly appreciated, I've only found one form asking about this same issue but unfortunately there was no fix for it.

Thanks!

 

Posted

Since you don't post any useful information (including the file you modified) it is impossible to say.

What makes you think a lack of heap memory is the cause of your problem?

 

You can use a mod like this to analysis server performance

https://www.curseforge.com/minecraft/mc-mods/spark

see its wiki and docs for how to use it.

Boilerplate:

If you don't post your logs/debug.log we can't help you. For curseforge you need to enable the forge debug.log in its minecraft settings. You should also post your crash report if you have one.

If there is no error in the log file and you don't have a crash report then post the launcher_log.txt from the minecraft folder. Again for curseforge this will be in your curseforge/minecraft/Install

Large files should be posted to a file sharing site like https://gist.github.com  You should also read the support forum sticky post.

Posted (edited)

The only file I've moddified is the user_jvm_args.txt

# Xmx and Xms set the maximum and minimum RAM usage, respectively.

# They can take any number, followed by an M or a G.

# M means Megabyte, G means Gigabyte.

# For example, to set the maximum to 3GB: -Xmx3G

# To set the minimum to 2.5GB: -Xms2500M

 

# A good default for a modded server is 4GB.

# Uncomment the next line to set it.

-Xmx30G -Xms20G

 

The errors it is giving me is "Can't Keep up! Is the server overloaded? ect..

I would love to copy and paste the logs but they are located on a host that I am consoled onto via VMWare and setting up copy and paste between host and guest is a bit of a pain.

This reddit post has the same problem that I'm having

The main reason I suspect its the lack of RAM usage is that the sever would sit around 3.5Gigs of usage and tell me that it has ~5% free.

I will take a look at the mod when I get the chance.

The host specs:

ProLiant DL380p Gen8

32GB RAM

Intel(R) Xeon(R) CPU E5-2697 v2

tldr: Forge server isn't reading/executing usr_jvm_args.txt

Edited by ryain10z
  • 1 year later...

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.

Announcements



×
×
  • Create New...

Important Information

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