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:
I assume you installed 64bit java with the 64bit IE and then had it configured/routed properly in your .bat?
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...
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.