jcmdwithout any parameters to list all JVM processes, starting with a PID. The command
jpsalso does the job.
jcmd [PID] GC.heap_dump [PATH]to create a heap dump.
- Enjoy the memory leak analysis :-)
Cloudy Jakarta EE and MicroProfile: Microservices, Clouds and Beyond Jakarta EE / MicroProfile airhacks workshops at MUC airport, Winter Edition
airhacks.fm the podcast:
Stay in touch: airhacks.news.