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

后端 未结 2 368
被撕碎了的回忆
被撕碎了的回忆 2021-01-30 10:42

I have recently reinstalled Windows and I am using JDK 1.8 u91 with the built-in VisualVM. I have checked my proxy settings to ensure that they are all off, both in Windows prox

相关标签:
2条回答
  • 2021-01-30 11:19

    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"

    0 讨论(0)
  • 2021-01-30 11:33

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

    -Djava.rmi.server.hostname=localhost
    
    0 讨论(0)
提交回复
热议问题