Java 64 bit consumes excessive native memory (c-heap) due to JIT Compilation

Serguei Mourachov smourachov at gmail.com
Tue Aug 28 20:49:08 PDT 2012


That could also be a result of glibc bug 
http://sourceware.org/bugzilla/show_bug.cgi?id=11261 what is fixed only 
in RHEL/CentOS 6, I think: 
http://sourceware.org/bugzilla/show_bug.cgi?id=13071
 From our experience,  setting MALLOC_ARENA_MAX=1 on RHEL/CentOS 5 
should help, unless you are heavily calling malloc from your app using 
JNI or Unsafe.

Serguei Mourachov


More information about the hotspot-compiler-dev mailing list