Can't allocate memory to the server

Discussion in 'Bukkit Help' started by shoter, Dec 1, 2012.

Thread Status:
Not open for further replies.
  1. Offline

    shoter

    I am trying to allocate 10gb of ram to a server however I get this error
    Code:
    C:\McServer>"C:\Program Files (x86)\Java\jdk1.7.0_09\bin\java.exe" -Xincgc -Xmx1
    0G -jar craftbukkit.jar
    Invalid maximum heap size: -Xmx10G
    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.
     
    C:\McServer>PAUSE
    Press any key to continue . . .
    
    Here is my run.bat

    Code:
    "C:\Program Files (x86)\Java\jdk1.7.0_09\bin\java.exe" -Xincgc -Xmx10G -jar craftbukkit.jar
    PAUSE
     
  2. Offline

    Noobtra

    Download 64 bit java, And dont link x86, 32 bit java doesnt support more than 1G
     
  3. Offline

    Cirno

    32bit supports up to 4g :confused:

    Are you sure you have more then 10G? You might also want to set a -Xms field to get the server going.
     
  4. Offline

    Noobtra

    Tell us your PC maximum RAM Range
     
  5. Offline

    midnightfang22

    32 bit can use a maximum of 1.5GB for any 1 task. It will not allocate anymore than that for any 1 task.
     
  6. Offline

    shoter

    i got 16 gb ram and intel core i7 cranked up to 4.2 ghz
     
  7. Offline

    midnightfang22

    Do this
     
  8. Offline

    shoter

    what do you mean dont link?
     
  9. Offline

    midnightfang22

    You run.bat is saying to open 32 bit java, change it to open 64 bit java.
     
  10. Offline

    shoter

    ok so I downloaded 64 bit, still doesn't work.
     
  11. Offline

    midnightfang22

    is your run.bat still the same?
     
  12. Offline

    404Ninja

    You have to have that much ram.
     
  13. Offline

    TnT

  14. Offline

    shoter

    yea none of them worked still can't allocate 10gb of ram...
     
Thread Status:
Not open for further replies.

Share This Page