gpt4 book ai didi

Java Core 不包含 Native 内存部分

转载 作者:行者123 更新时间:2023-12-01 09:27:11 25 4
gpt4 key购买 nike

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

IBM WebSphere 应用服务器 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 dump仅包含以下部分:

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

最佳答案

版本字符串显示您正在运行使用 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 文件。

关于Java Core 不包含 Native 内存部分,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39743821/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com