Jump to content

Can't run modded Server with more than default RAM


elblorenz32

Recommended Posts

Hi,

I was trying to make a new private server. However, I needed more memory(here always RAM) an decided to add "-Xms2048m -Xmx2048m" into my command, it gave me an error:
 

>java -Xmx2048m -Xms2048m -jar forge-1.12.2-14.23.5.2847-universal.jar
Error occurred during initialization of VM
Could not reserve enough space for 2097152KB object heap

or

>java -Xmx4G -Xms4G -jar forge-1.12.2-14.23.5.2847-universal.jar
Invalid maximum heap size: -Xmx4G
The specified size exceeds the maximum representable size.
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

 

I am running this on java 8 (64bit) and about 10GB of FREE memory on Win10. 

I also tried various possibilities from other Forums but nothing worked it always ended in one of the upper Errors. 

Without memory extentions, it runs, but very laggy. 

 

Thanks for help

Link to comment
Share on other sites

  • 1 month 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.