问题描述
我有一个非常大的堆转储(.hprof)文件(16GB).当我尝试在Visual Vm中打开它时,VM挂起了.我试图在JProfiler中打开它. Jprofiler给了我一个内存不足的错误.以下是我的jprofiler.vmoptions的外观.我应该使用什么理想的配置才能顺利打开HPROF?我在8GB的Linux机器上运行.
I have a very large Heap Dump (.hprof) file (16GB). When I try to open it in Visual Vm,the VM just hangs. I tried to open it in JProfiler. Jprofiler gave me a Out Of Memory error. Below is how my jprofiler.vmoptions looks like. What should be the ideal configuration, I should be using in order to open the HPROF without issues? I am running on a 8GB Linux box.
-Xmx1536m-XX:MaxPermSize = 128m-Xss2m
-Xmx1536m-XX:MaxPermSize=128m-Xss2m
推荐答案
JProfiler 8.1将能够打开更大的HPROF文件,而无需调整-Xmx VM参数.要获得预发布,请联系support @ ej-technologies.
JProfiler 8.1 will be able to open much larger HPROF files without tuning the -Xmx VM parameter. To get a pre-release, please contact support@ej-technologies.
这篇关于大HPROF文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!