Java memory dump issue -
i have tried create memory dump using below code
**/usr/lib/jvm/j2sdk1.5-sun/bin/jmap -heap 10699**
but got below mentioned error, can me
attaching process id 10699, please wait... error attaching process: sun.jvm.hotspot.debugger.debuggerexception: can't attach process
i'm using java 5
to proactive, i'll assume you're running ubuntu. in case, type following:
echo 0 | sudo tee /proc/sys/kernel/yama/ptrace_scope
if you're not running ubuntu, i'll recommend run jmap same user ran target process
Comments
Post a Comment