VisualVM: CPU/Memory profiler stuck at “Connecting to the target JVM…”

半城伤御伤魂 提交于 2019-12-02 15:32:14
ievgen

See this bug report - VISUALVM-637

Solution: start JVisualVM using below command :

jvisualvm.exe -J-Dorg.netbeans.profiler.separateConsole=true

I've checked this (and it works !) at Windows 10 X64 with java version "1.8.0_102"

Try starting the (local) application to observe with additional:

-Djava.rmi.server.hostname=localhost
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!