Increasing RAM usage

Discussion in 'Bukkit Help' started by Renagade, Apr 8, 2011.

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

    Renagade

    so I have a slight problem.I got anything above 1 GB of ram it gives me a java error.I was using hmod with 8 GB ram but I can seem to do that.

    This is my old hmod server_nogui_x64

    Code:
    @echo off
    "%ProgramFiles(x86)%\Java\jre6\bin\java.exe" -Xms8G -Xmx8G -jar Minecraft_Mod.jar nogui
    pause
    and this is my bukkit one

    Code:
    @ECHO OFF
    SET BINDIR=%~dp0
    CD /D "%BINDIR%"
    "%ProgramFiles(x86)%\Java\jre6\bin\java.exe" -Xincgc -Xmx1G -jar Bukkit.jar
    PAUSE
    
    what can I change to allow more that 1 GB?

    Server specs:
    -Intel® Core™ i7-920 Processor (2.66 GHz)
    -24GB of DDR3 Memory (not all of it is allocated to the Minecraft server)
    -windows server 2008

    help?
     
  2. Offline

    Godspeed

  3. Offline

    Renagade

    Well I put me on the right track but not quite what I was looking for,lots of different answered in that thread and most of the people argued with each other.
     
  4. Offline

    Renagade

    Bump need help
     
  5. Offline

    Plague

    get a 64bit java
     
  6. Offline

    txtsd

    ^ What he said.

    And then run this-
    Code:
    @ECHO OFF
    SET BINDIR=%~dp0
    CD /D "%BINDIR%"
    java -d64 -server -Xincgc -Xmx8G -jar Bukkit.jar
    PAUSE
    It'll give you 8GB max. If you want more than 8GB, just change the -Xmx*G to how many GBs you want it to have max. You can also do -Xmx2048M instead, if you want to specify it in MB.
     
  7. Offline

    Renagade

    Fucking love you.Didn't know how to target the 64 bit java with bukkit.Thanks again man :D
     
  8. Offline

    txtsd

    np :p I learned about the -d64 flag from java -help :D
     
Thread Status:
Not open for further replies.

Share This Page