Solved Where does Bukkit pick up the _JAVA_OPTIONS?

Discussion in 'Bukkit Help' started by Starbi, Apr 5, 2012.

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


    This is really really annoying, because I can't play Minecraft without lag (Which I could before).
    So, I once gave Java (Jre6) more ram to make my Minecraft go faster.

    What I type into the Command Prompt:
    set _JAVA_OPTIONS=-Xincgc -Xms2048m -Xmx3096m

    I was happy then, everything was good until I started the server and I noticed the server uses as much ram as the client and I only got 4 GB Ram.

    Ok, to get to the point: I can't set the options back! :(

    I reset it to -Xmx512m -Xmx1204m. It was reseted, but not the server. Everything Java related uses that amount of ram, but not the server. What I tried to reset Bukkit's ram:
    -Reinstall Java 6
    -Set it back through the Command Prompt (In many ways)
    -Set it back through Windows system config
    -Reinstall Bukkit
    -Delete everything related to Bukkit
    -Craft Bukkit Starter changing:
    Echo OFF
    SET BINDIR=%~dp0
    CD /D "%BINDIR%"
    "%ProgramFiles%\Java\jre6\bin\java.exe" -jar craftbukkit-1.2.5-R1.0.jar
    _JAVA_OPTIONS=-Xincgc -Xms512m -Xmx1024m

    I know there's one way to reinstall Windows, but I don't want to, to much stuff I need to transfer.
    So where does Bukkit pick the options up so I can reset it?

    Thanks to any help in advance. :3
  2. Offline


    Starbi likes this.
  3. Offline


    That's perfect! Luckily I use 64-Bit Windows and Java. :D
    Really much Thanks to you. You made my day! :3
Thread Status:
Not open for further replies.

Share This Page