我正在尝试使用 JProfiler 来查找我的应用程序中最大的对象。 它显示了前 6 个最大的物体,并切断了其他所有物体。我不知道如何查看更多顶级对象。可能缺少一些明显的东西。或者也许这是 MacOS 上的问题? 这就是我要说的:
您可以看到还有其他 2,884,610 个对象消耗了 249MB 内存。我怎样才能看到更多? 在图例中我发现了以下帮助消息:
"In order to keep the UI responsive, JProfiler only shows a small number of top-level objects.
Clicking on the hyperlink in the node will add more top-level objects. The block size of the number of added instances can be confiured in the view settings."
但是我在节点中找不到超链接。有人可以指点一下吗?
最佳答案
右键单击 --> 使用选定的实例 --> 最大对象
关于java - 在JProfiler中如何扩展最大对象的数量?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28863607/