Hi
I have a problem com my aplication. My application has 100
thread that use many cache. The problem is that after that aplication consume 4GB, the machine alloc memory until have no more memory in the machine. The aplicarion no exit e no get OutOfMemory, but run using 7,9 GB de memory. The problem is that the command top show that aplication consumed 4G, but has 7,9 GB de memory alloc. No has any more process in the machine.
The memory swap no is used in no moment and the gclog.txt show gc corrects.
I think that has any bug with the GC.
What is the error ??
Thanks
Information:
- The machine has 8GB RAM and 16GM de swap.
- Start my aplication stand-alone with:
java -verbose:gc -jar -Xms4048M -Xmx4048M -XX:NewSize=512M -XX:MaxNewSize=512M -XX:+PrintGCDetails -Xloggc:gclog.txt extractor.jar >> saida.txt &
- The machine is Linux and the version de jdk is:
java version "1.4.2_10"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_10-b03)
Java HotSpot(TM) 64-Bit Server VM (build 1.4.2_10-b03, mixed mode)