linuxbox 上的 Jconsole
大家好,我需要在生产 Linux 机器上使用 JConsole,任何人都知道如何为 Mbean 指定转储文件的路径,我正在寻找 HPOF 文件,以便我可以分析内存泄漏。
Hi I need to use JConsole on the production Linux box any one has an idea how can I specify the path of dump file for a Mbean I am looking for HPOF file so that i could analyze the memory leaks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
查看文档。在突出显示堆转储的部分中,您可以看到需要选择的 MBean 以触发堆转储。请注意,您还可以使用以下命令在内存不足时自动发生这种情况:
Take a look at the documentation. In the section that highlights heap dumps, you can see the MBean you need to select inorder to trigger the heap dump. Note you can also have this happen automatically on out of memory with: