Jump to content

Forge 1.18.1 Setting Ram!


hotninja000

Recommended Posts

Hello! My friend and I created a minecraft server using the Forge 1.18.1 installer. We need to set more ram than the standard settings but we can't figure out how to increase the ram beyond 4GB. 
We have created many servers before but have never ran into a JVM_args document before and don't know how to approach it. Thank you!

  • Like 1
Link to comment
Share on other sites

"

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

 -Xmx10G -Xms2G

"

This is my current user_jvm_args file.
Upon viewing the GUI I can see only 14% available at around 3-4GB. 

Link to comment
Share on other sites

4 hours ago, jac909 said:

Having the exact same problem and cannot find a solution anywhere. Have even tried all of the current 1.18.1 forge servers. Cannot get anymore than 4Gb of ram to allocate.

What I replied to my original post did in fact work.
If you enabled the GUI you will see that often times it will seem that it is maxed out around 4GB but that is just your computer not allocating the full 8GB until it is 100% needed. So if the server does in fact need more, then your server will allocate more and the gui will reflect that. If you have only been starting the server and not playing for extended amounts of time then you probably never saw it go above 3GB and may never see it go close to 8GB depending on what mods/mod pack you are using.

 

I hope this helps!

Edited by hotninja000
Grammar
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.