VisualVM launcher error

前端 未结 4 2516
甜味超标
甜味超标 2021-02-20 00:59

I\'m trying to use the Eclipse VisualVM launcher. It seems pretty nice, except that it seems to spawn an instance if VisualVM too late to do any profiling of my application. My

4条回答
  •  闹比i
    闹比i (楼主)
    2021-02-20 01:14

    This is probably too late, but I had the same problem, and setting a breakpoint and then starting in debugging mode didn't help at all. I eventually found out that VisualVM saves its temporary data in the folder %TMP%/hsperfdata_[username], on my Windows machine that folder was C:\Users\Jacob\AppData\Local\Temp\hsperfdata_Jacob for instance. It turned out that the process did not have sufficient permissions to access that folder, so I relaxed the permissions on it and now it works just fine. Hope this is useful for someone having the same problem!

提交回复
热议问题