Java Core不包含本机内存部分

时间:2016-09-28 09:47:59

标签: java out-of-memory websphere

IBM WebSphere因“java / lang / OutOfMemoryError本机内存耗尽”而失败,并生成javacore文件。但是这个文件不包括Native memory(NATIVEMEMINFO)部分。为什么?

IBM WebSphere Application Server 7.0.0.39

NULL           ------------------------------------------------------------------------
0SECTION       ENVINFO subcomponent dump routine
NULL           =================================
1CIJAVAVERSION JRE 1.6.0 Windows Server 2008 R2 amd64-64 build jvmwa6460sr12-20121024_126067 (pwa6460sr12-20121025_01(SR12))
1CIVMVERSION   VM build 20121024_126067
1CIJITVERSION  r9_20120914_26057
1CIGCVERSION   GC - 20120928_AA_CMPRSS

摘要,javacore转储仅包含以下部分:

0SECTION       TITLE subcomponent dump routine
0SECTION       GPINFO subcomponent dump routine
0SECTION       ENVINFO subcomponent dump routine
0SECTION       MEMINFO subcomponent dump routine
0SECTION       LOCKS subcomponent dump routine
0SECTION       THREADS subcomponent dump routine
0SECTION       SHARED CLASSES subcomponent dump routine
0SECTION       CLASSES subcomponent dump routine
0SECTION       Javadump End section

1 个答案:

答案 0 :(得分:1)

版本字符串显示您正在运行使用J9 VM2.4的早期IBM Java 6.0。

NATIVEMEMINFO部分是在使用J9 VM2.6的IBM Java 6的后续版本中引入的:

http://www.ibm.com/support/knowledgecenter/SSYKE2_6.0.0/com.ibm.java.doc.60_26/vm626/GenericWrapper/whatsnew_ga.html

您使用的版本不会生成包含NATIVEMEMINFO部分的javacore文件。