gpt4 book ai didi

java - eclipse中解析hprof文件时发生内部错误

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

enter image description here

使用MemoryAnalyzer(eclipse插件)来检查内存。我可以生成 hprof 文件,但无法在 eclipse 中打开。出现以下内部错误。

最佳答案

打开 hprof 文件时,内存分析器本身内存不足。

来自FAQ :

Well, analyzing big heap dumps can also require more heap space. Give it some more memory (possible by running on a 64-bit machine):

MemoryAnalyzer.exe -vmargs -Xmx4g -XX:-UseGCOverheadLimit

Alternatively, edit the MemoryAnalyzer.ini to contain:

-vmargs
-Xmx2g
-XX:-UseGCOverheadLimit

...

If you are running the Memory Analyzer inside your Eclipse SDK, you need to edit the eclipse.ini file.

关于java - eclipse中解析hprof文件时发生内部错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36149223/

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