简体   繁体   English

导出Jprofiler堆转储

[英]Export Jprofiler heap dump

i currently have a Jprofiler 'heapdump' file that contains a lot of valuable data which I need to export so it can be interpreted programatically.. 我目前有一个Jprofiler的“堆转储”文件,其中包含很多我需要导出的有价值的数据,以便可以以编程方式对其进行解释。

Please see below: 请看下面: 忙碌的猫

I need to somehow get all these values out.. I have noticed theirs an export button but it only exports the items that are not collapsed.. There are over 1,000 items in here so uncollapsing them all would be unreasonable to do. 我需要以某种方式获取所有这些值。.我注意到它们的一个导出按钮,但它仅导出未折叠的项目。.这里有1,000多个项目,因此将它们全部取消合拢将是不合理的。

Is there any way I can do this? 有什么办法可以做到吗?

Kind regards 亲切的问候

As of 9.1, there is no way to export all objects in the heap walker. 从9.1开始,无法导出堆walker中的所有对象。 Also, expanding all items would be problematic, since the references could well span the entire heap. 同样,扩展所有项目将是有问题的,因为引用很可能会跨越整个堆。

You can save heap dump to your computer (.hprof) file it through the JProfiler 10.0 UI. 您可以通过JProfiler 10.0 UI将堆转储保存到计算机(.hprof)文件中。 (Have not used lower versions, may be a similar option exists there) This file can then be analysed using JProfiler and Eclipse MAT (memory analyzer). (尚未使用较低的版本,可能存在类似的选项)然后可以使用JProfiler和Eclipse MAT(内存分析器)来分析此文件。

在JProfiler 10.0上保存堆转储(yourDump.hprof)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM