Jump to content

Are forge 1.18.2 servers hard capped at 8GB?


Electro-Hawk

Recommended Posts

Whenever I try to set the user_jvm_args RAM max value anything higher than 8 it seems to drop down to below 5 actually being used (according to Task Manager anyway) according to the pc properties it should have 20GB of RAM so allocating 10 or so should be perfectly fine but it seems to just throttle itself down to roughly 4.

Link to relevant images: https://imgur.com/a/3O3yU8c

Am I doing something wrong or do I need something else to make it possible to increase the max amount of RAM available?

Link to comment
Share on other sites

In java

-Xmx specifies the MAXMIMUM heap size

-Xms specifies the MINIMUM heap size

It won't allocate the maximum unless it needs 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.

Link to comment
Share on other sites

19 hours ago, warjort said:

It won't allocate the maximum unless it needs it.

Problem is that when I had it set to 12GB it was locking itself at 4GB when it definitely needed more, server would take several seconds to catch up now and then when moving relatively small distances loading and unloading areas

Link to comment
Share on other sites

Use something like the spark mod to get more information on what is going on.

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

 

Or install the java development kit (JDK) instead of the java runtime environment (JRE) which will give you access to additional monitoring tools such as jconsole

https://docs.oracle.com/en/java/javase/17/management/using-jconsole.html

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.

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.

Announcements



×
×
  • Create New...

Important Information

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