Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Memory Analyzer » Unsupported Segment Type 0 errors(MAT cannot load an .hprof from Java 1.7)
Unsupported Segment Type 0 errors [message #1454741] Tue, 28 October 2014 18:24 Go to next message
Todd Carmichael is currently offline Todd CarmichaelFriend
Messages: 3
Registered: October 2014
Junior Member
I cannot load an .hprof file from java 1.7_051 with 10GB of heap (-Xmx 10245636096 bytes)

I get an error "Unsupported segment type 0 at position 552,798,511"
I have seen elsewhere that this means the file is corrupt or invalid. I don't know what would cause it to be invalid. Here are the startup parameters. I have very little control over what these values are. I used to have no problems opening these files but something has changed recently that is causing an error loading these files. I don't know if it is the java version or something else. I am about to write a test program to see if it is indeed caused by a java version but wanted to check with this forum to see if there are any known issues.

-verbose:memdbg
-XX:+PrintGCDetails
-Xloggc:D:\Tomcat\logs\TomcatGC.log
-XX:PermSize=256m
-XX:MaxPermSize=256m
-XX:-ReduceInitialCardMarks
-XX:+HeapDumpOnOutOfMemoryError
-Dcatalina.home=D:\Tomcat
-Dcatalina.base=D:\Tomcat
-Djava.endorsed.dirs=D:\Tomcat\common\endorsed
-Djava.io.tmpdir=D:\Tomcat\temp
-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
-Djava.util.logging.config.file=D:\Tomcat\conf\logging.properties
-Dcom.sun.management.jmxremote
-Dcom.sun.management.jmxremote.port=XXXX
-Dcom.sun.management.jmxremote.ssl=false
-Dcom.sun.management.jmxremote.authenticate=false
-javaagent:D:\appdynamics\appserveragent\3.8.3\javaagent.jar
-Dappdynamics.controller.hostName=XXXX.saas.appdynamics.com
-Dappdynamics.controller.port=XXXX
-Dappdynamics.http.proxyHost=appproxy.XXXXXXX.com
-Dappdynamics.http.proxyPort=XXXX
-Dappdynamics.controller.ssl.enabled=true
-Dappdynamics.agent.applicationName=XXXXXXXXX
-Dappdynamics.agent.tierName=XXXXXXX
-Dappdynamics.agent.nodeName=XXXXXXXX
-Dappdynamics.agent.accountName=XXXXXX
-Dappdynamics.agent.accountAccessKey=XXXXXXXX
Re: Unsupported Segment Type 0 errors [message #1454948 is a reply to message #1454741] Tue, 28 October 2014 23:23 Go to previous messageGo to next message
Todd Carmichael is currently offline Todd CarmichaelFriend
Messages: 3
Registered: October 2014
Junior Member
You can likely disregard this. I cannot get jhat to load the file either. It must be a bug in the JVM
Re: Unsupported Segment Type 0 errors [message #1462182 is a reply to message #1454948] Wed, 05 November 2014 09:50 Go to previous message
Andrew Johnson is currently offline Andrew JohnsonFriend
Messages: 141
Registered: July 2009
Senior Member
Thanks for the update. Trying with another tool is a good first step. I've made some updates to the FAQ to explain about how to get trace for this problem if it was actually a problem with Memory Analyzer.

Andrew Johnson
Previous Topic:Can object address help to give me generation info ?
Next Topic:Help in analyzing java.lang.ref.Finalizer in Heap dump analysis
Goto Forum:
  


Current Time: Thu Sep 20 08:30:05 GMT 2018

Powered by FUDForum. Page generated in 0.02664 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top