Limited RAM usage on 64-bit

Discussion in 'Bukkit Help' started by MiHo, May 25, 2011.

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

    MiHo

    Has anyone an idea why Java don't use more than 2,0GB on a 64bit system?
    Also the JVM ist 64bit, but there is always only "2.0g" in RAM and "7709m" Virtual (says TOP on a debian 64bit machine)

    To start the server i also pass the JVM params:
    Code:
    -Xmx7168M -Xms4096M
    Whats wrong? (There is enough unused ram ;) )


    Java-Version:
     
  2. Offline

    tha d0ctor

    I assume you installed 64bit java with the 64bit IE and then had it configured/routed properly in your .bat?
     
  3. Offline

    mutiny

    maybe it doesnt need more ram?
     
  4. Offline

    xPaw

    IE, .bat on linux, yeah bro.
     
  5. Offline

    tha d0ctor

    oh I just noticed you machine was debain, you'll need to post more info to help us out
     
  6. Offline

    MiHo

    Could be right...
    Thought lags in the last days before must come from a less RAM, but then I realised that it's not the RAM it could be the cpu which has to do hard with garbage collector. And this occurres the randomly intervalled short time lags.

    I hope -Xincgc now helps... in the last 2-3 hours there wasn't any lag anymore...
     
  7. Offline

    Phaedrus

    Remember, those flags are only reserving a heap for java to use, they won't be filled with data right off the bat. TOP is probably displaying actual usage. If you can find a commit size for the java process it will probably show the whole heap size.

    If you suspect GC stutters, use the CMS collector instead of the incremental.
     
Thread Status:
Not open for further replies.

Share This Page