Bug 582890 - org.eclipse.mat.SnapshotException: Illegal primitive object array type when parsing 42 GB heap dump using linux command
Summary: org.eclipse.mat.SnapshotException: Illegal primitive object array type when p...
Status: CLOSED MOVED
Alias: None
Product: MAT
Classification: Tools
Component: Core (show other bugs)
Version: 1.15   Edit
Hardware: PC Windows 10
: P3 major with 2 votes (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-28 04:03 EST by priyadharshini Ravi CLA
Modified: 2024-05-08 17:07 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description priyadharshini Ravi CLA 2024-01-28 04:03:20 EST
org.eclipse.mat.SnapshotException: Illegal primitive object array type when parsing 42 GB heap dump using Linux command

Error message:

org.eclipse.mat.SnapshotException: Illegal primitive object array type
    at org.eclipse.mat.hprof.Pass1Parser.readPrimitiveArrayDump(Pass1Parser.java:707)
    at org.eclipse.mat.hprof.Pass1Parser.readDumpSegments(Pass1Parser.java:384)
    at org.eclipse.mat.hprof.Pass1Parser.read(Pass1Parser.java:186)
    at org.eclipse.mat.hprof.HprofIndexBuilder.fill(HprofIndexBuilder.java:80)
    at org.eclipse.mat.parser.internal.SnapshotFactoryImpl.parse(SnapshotFactoryImpl.java:222)
    at org.eclipse.mat.parser.internal.SnapshotFactoryImpl.openSnapshot(SnapshotFactoryImpl.java:126)
    at org.eclipse.mat.snapshot.SnapshotFactory.openSnapshot(SnapshotFactory.java:147)
    at org.eclipse.mat.internal.apps.ParseSnapshotApp.parse(ParseSnapshotApp.java:136)
    at org.eclipse.mat.internal.apps.ParseSnapshotApp.start(ParseSnapshotApp.java:108)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)


Kindly suggest any ideas to overcome this issue.
Comment 1 priyadharshini Ravi CLA 2024-02-05 00:40:08 EST
Any update on this?
Comment 2 Gowtham K CLA 2024-02-13 23:55:16 EST
Kindly suggest parsing this 42 GB dump in the Linux command for the below error
Comment 3 Eclipse Webmaster CLA 2024-05-08 17:07:36 EDT
This issue has been migrated to https://github.com/eclipse-mat/org.eclipse.mat/issues/48.