Jump to content

hotninja000

Members
  • Posts

    6
  • Joined

  • Last visited

Everything posted by hotninja000

  1. You are understanding it correctly. However there is a little more going on in the background. If the server says it is using 2GB with 27% free that would be something like 800mb free for the server. This just means that your computer has allocated approximately 3GB to the server because that is what your computer thinks it needs. However your computer is willing to give up to 8GB of memory. If your server never needs over 2GB of memory then it will never show more than an extra few % free. This is just to allow more memory for other processes.
  2. You have added the JVM arguments to the .bat file. You need to go into user_jvm_args.txt and add -Xmx8G to the end of the file. Don’t forget to remove the # from the last line before adding this. You will not see the GUI show all 8GB available at once as diesieben07 mentioned due to the fact that if the server does not need it, then it won’t allocate it. I hope this helps. Edit: Make sure to remove the arguments you added to the .bat file and revert it to it’s original state in case that messes anything up. It shouldn’t because it reads the JVM arguments and starts the server before but just in case.
  3. Have you installed Java 8 or JRE 17 depending on what is needed for your version of Minecraft?
  4. 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!
  5. " # 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.
  6. 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!
×
×
  • Create New...

Important Information

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