Environment :RHEL 6 and Webspshere 7.0.0.23 (ND) Architecture AMD (64 bit)
ISSUE: Out of memory error -Native heap exhausted... Note:if you are seeing the footprints of Reflection delegating classloaders. When using Java reflection, if the JVM uses a Java bytecode accessor on the class being reflected, it will use native memory. If there is frequent use of Java reflection, there can be a significant amount of native memory use. See the following page for more detail and instructions on how to limit the native memory use of the Java reflection accessors:
Please refer : http://www-01.ibm.com/support/docview.wss?uid=swg21373312 you can analyse the Thread dump for Classloader count. if you are seeing having number of java reflectionn class loader then it would be worth adding to JVM argument: -Dsun.reflect.inflationThreshold=0
Soultion :Setting -Xgc:preferredHeapBase=0x100000000 JVM argument.
For more details : https://www.ibm.com/developerworks/community/blogs/kevgrig/entry/ibm_java_compressed_references_and_native_ooms?lang=en Warning : this page is created with an intention so that i can refer it at later point of time when needed.before using the parameter please understand the nature of issue and Architecture .
No comments:
Post a Comment