0

我正在尝试通过以下代码使用 jcmd 访问 NMT:

jcmd 4348 VM.native_memory [summary] [scale=10 GB]

但是得到以下错误:

com.sun.tools.attach.AttachNotSupportedException: Unable to attach to 32-bit pro
cess running under WOW64
        at sun.tools.attach.WindowsVirtualMachine.openProcess(Native Method)
        at sun.tools.attach.WindowsVirtualMachine.<init>(WindowsVirtualMachine.j
ava:56)
        at sun.tools.attach.WindowsAttachProvider.attachVirtualMachine(WindowsAt
tachProvider.java:69)
        at com.sun.tools.attach.VirtualMachine.attach(VirtualMachine.java:208)
        at sun.tools.jcmd.JCmd.executeCommandForPid(JCmd.java:147)
        at sun.tools.jcmd.JCmd.main(JCmd.java:131

)

4

0 回答 0