Ich musste laufen jmap, um einen Heap-Dump meines Prozesses zu erstellen. aber jvmzurückgegeben:
Unable to open socket file: target process not responding or HotSpot VM not loaded
The -F option can be used when the target process is not responding
Also habe ich verwendet -F:
./jmap -F -dump:format=b,file=heap.bin 10330
Attaching to process ID 10331, please wait...
Debugger attached successfully.
Server compiler detected.
JVM version is 24.51-b03
Dumping heap to heap.bin ...
- Verwenden
-Fist in Ordnung für Heap Dump? - Ich warte 20 Minuten und bin noch nicht fertig. Irgendwelche Ideen warum?