Jump to content

Allocating Ram to Forge Server


Recommended Posts

My forge 1.12.2 server is very slow and laggy. The reason is probably because every 5 seconds, the console spits out this message (or smth like it):

 

Running 15ms behind! Is the server overloaded? Skipping 60 ticks (example, but keeps sending messages just like it)

 

I've been trying to allocate ram to fix this issue. How can I do this on 1.12.2? There is no jvm args.txt, like in 1.20.1.

 

Link to comment
Share on other sites

To start a server with jvm arguments, create a text document and paste
 

java -Xmx4G -jar forge.jar
pause

Just make sure the server.jar name is matching with the file name

Then rename the text document to start.bat

Then you can start this server with this file

-Xmx4G allocates 4 GB RAM to the server

Try my Modpack

spacer.png

>>Link to Curseforge<<

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.