Lazy Diary @ Hatena Blog

PowerShell / Java / miscellaneous things about software development, Tips & Gochas. CC BY-SA 4.0/Apache License 2.0

Entries from 2023-02-23 to 1 day

Output of jcmd GC.heap_dump is placed in the root directory of the application

Problem When you get a heap dump of a Java application with jcmd like: PS C:\home\satob> jcmd 18228 GC.heap_dump ./demo.hprof 18228: Heap dump file created You will not be able to find the heap dump on the current directory like: PS C:\hom…