The Eclipse Memory Analyzer is a fast and feature-rich Java heap dump analyzer that helps you find memory leaks and reduce memory consumption.
Eclipse Public License 2.0
57
stars
10
forks
source link
Check if dump is truncated if possible #44
Open
eclipsewebmaster opened 4 months ago
| --- | --- | | Bugzilla Link | 582791 | | Status | ASSIGNED | | Importance | P3 normal | | Reported | Dec 18, 2023 15:05 EDT | | Modified | Jan 06, 2024 06:02 EDT | | Reporter | Kevin Grigorenko |
Description
Core dump truncation is a common issue when loading dumps for IBM Java and IBM Semeru Runtimes. The most common manifestation of this is the error, "Unable to find Java runtime [...]". Recent versions of DTFJ have the Image.isTruncated method that checks for this condition: https://eclipse.dev/openj9/docs/api/jdk8/platform/dtfj/com/ibm/dtfj/image/Image.html#isTruncated--
It would be nice if MAT performed this check, if available, and gave the user a more detailed error message along with common causes of truncation.