1

[SOLVED] My server doesn't run on 2gb ram?

sesamazonia 5/12/16 1:10 pm
277
5/13/2016 12:17 pm
Recently I have been getting server messages that it cannot keep up, there is nothing wrong with my internet speed as I have very fast internet so I tried allocating more ram to my server by changing the 1024 in the run file to 2048 like this:

"java -Xmx2048M -jar bukkit.jar -o true
PAUSE"

Although when I use that code instead of the normal 1024 ram code which works fine, it keeps giving me the same error immediately after starting the run file:

"Could not reserve enough space for 2097152KB object heap"

My computer has 8GB of ram, and a 64 bit operating system (I have read that 32 bit systems can only allocate 1gb of ram to a server), what could the problem then be??

Here is the full console on pastebin: http://pastebin.com/S3m3Lcp8

Thanks in advance, sesamazonia
Posted by
sesamazonia
Level 11 : Journeyman Dragon
11

  Have something to say?

JoinSign in

2

EuanandDan
05/12/2016 3:23 pm
Level 6 : Apprentice Network
Make sure you have 64 bit java installed.. the default on the java page is 32 bit
1
sesamazonia
05/13/2016 12:17 pm
Level 11 : Journeyman Dragon
Thank you, that was exactly the problem!
1

Welcome