Visualvm don't see bootRun running app


(Oleksandr Gavenko) #1

I know that VisualVM looks to files in predefined path when build list of running java applications.

Unfortunately Java process created by gradle bootRun (to run Spring Boot app) doesn’t register itself by this path.

Can any point how can I attach to this process with VisualVM?


(Oleksandr Gavenko) #2

I get PID via procexp and get dump via jmap:

bash# /cygdrive/c/opt/Java/jdk1.8.0_144/bin/jmap.exe -dump:live,format=b,file=x.bin 7508