JConsole can't find process

前端 未结 8 1514
北恋
北恋 2021-02-18 20:50

I tried to run JConsole to analyze the memory used by a running process, but JConsole doesn\'t show me processes even though I am absolutely sure that one is running (in additio

8条回答
  •  说谎
    说谎 (楼主)
    2021-02-18 21:14

    This happens when %TMP% value is different for monitored JVM and the monitoring tool (JConsole/JMC/Java Mission Control, maybe even VisualVM). This may be the standard scenario with Cygwin (at least in my case: Cygwin+Babun) Easiest solution is to set value of the TMP environment variable to the default value used by Windows, at least in scope of shell launching the JVM.

提交回复
热议问题