Truncated heap dump is not detected if heap dump is taken from running application and it there is not enough disk space. VisualVM does not detect 'No space left on device' failure if heap dump is taken via Attach API and tries to open truncated heap dump, which fails immediately.
Truncated heap dump is not detected if heap dump is taken from running application and it there is not enough disk space. VisualVM does not detect 'No space left on device' failure if heap dump is taken via Attach API and tries to open truncated heap dump, which fails immediately.