Java memory dump issue

后端 未结 2 434
不知归路
不知归路 2021-01-16 03:37

I have tried to create a memory dump using with below code

 **/usr/lib/jvm/j2sdk1.5-sun/bin/jmap -heap 10699**

but i got below mentioned er

2条回答
  •  旧巷少年郎
    2021-01-16 04:05

    To be proactive, I'll assume you're running ubuntu. In that case, type the following:

    echo 0 | sudo tee /proc/sys/kernel/yama/ptrace_scope
    

    If you're not running ubuntu, I'll recommend that you run jmap as the same user as ran your target process

提交回复
热议问题