HEAP Size of more than 4GB
843811Jan 19 2004 — edited Jan 29 2004Hi
I am using JDK1.4 and trying to run my WebLogic Application server 8.0 SP2 using Sun JDK1.4 in 64 bit mode. Even though WebLogic doesn't support 64 bit mode, i am running some proof of concept, here are GC information I got running in verbose GC mode.
1787.140: [Full GC 3599555K->3599364K(6590784K), 74.3484446 secs]
From the above GC log, does it mean that 3599555K was used by heap before GC and it came down to 3599364K after GC and the total heap available is 6590784K. Since some 6GB is available in Java heap, why Java is not using the remaining 3GB? Am i missing something? -Xms and -Xmx values are set to 6500M each and -XX:MinHeapFreeRatio=05 so that all the memory could be used for object allocation.
I am continously getting FullGC cycles and the application server stops to respond.
I am also pasting the top command result, which shows how much memory is left in the system and how much Java is using.
last pid: 5788; load averages: 1.01, 1.02, 1.10 15:46:39
55 processes: 53 sleeping, 2 on cpu
CPU states: 74.4% idle, 25.0% user, 0.6% kernel, 0.0% iowait, 0.0% swap
Memory: 8192M real, 1168M free, 6966M swap in use, 5608M swap free
PID USERNAME THR PRI NICE SIZE RES STATE TIME CPU COMMAND
5372 104471 54 0 10 6838M 6106M cpu/3 28:18 25.00% java
5622 104471 1 58 0 2648K 1712K cpu/0 0:00 0.00% top
5365 104471 1 8 0 1112K 840K sleep 0:00 0.00% startWebLogic.s
5234 104471 1 42 0 1096K 824K sleep 0:00 0.00% sh
5239 104471 1 48 0 2504K 1840K sleep 0:00 0.00% bash