Details
-
Improvement
-
Status: Resolved
-
Low
-
Resolution: Duplicate
-
None
-
None
Description
It appears that jmap has an option to allow dumping heap histograms after a heap dump is generated (http://www.oracle.com/technetwork/java/javase/memleaks-137499.html#gbywi). This could be useful to provide a very quick overview of the biggest objects in heap without having to download the massive hprof file off the Cassandra nodes. We can potentially hook it up using this JVM option: -XX:OnOutOfMemoryError="<cmd args>; <cmd args>" in the cassandra-env.sh file.
Attachments
Issue Links
- duplicates
-
CASSANDRA-9861 When forcibly exiting due to OOM, we should produce a heap dump
- Resolved