Java GC (Allocation Failure)

“Allocation Failure” is a cause of GC cycle to kick in. “Allocation Failure” means that no more space left in Eden to allocate object. So, it is normal cause of young GC. Older JVM were not printing GC cause for minor GC cycles. “Allocation Failure” is almost only possible cause for minor GC. Another reason … Read more

Why cannot the JVM auto expand heap memory to the configured Xmx3072m in linux & jdk1.6.0_32, and FullGC occurs very frequently

The RES value isn’t how much memory the process is using, but how much actual RAM it uses. This doesn’t include swapped pages and allocated but unmapped pages. Make sure you have enough free memory on the system itself, you can run free, or even top should print above how much memory is in use. The output of top suggests that the … Read more