且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Jmap无法连接进行转储

更新时间:2023-01-11 18:36:42

解决方案非常简单。我以root身份运行jmap,但是我必须以启动jvm的用户身份运行它。我现在会羞愧地隐藏我的头。

The solution was very simple. I was running the jmap as root, but I had to run it as the user who started the jvm. I will now go hide my head in shame.