You can use jmap
to get a dump of any process running, assuming you know the pid
.
Use Task Manager or Resource Monitor to get the pid
. Then
jmap -dump:format=b,file=cheap.hprof <pid>
to get the heap for that process.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…