How to Force Java Garbage Collection from CLI - Quick and Dirty
If you run
jmap -histo:live <pid>
, that will force a full GC on the heap before it prints anything out.
If you run
jmap -histo:live <pid>
, that will force a full GC on the heap before it prints anything out.