<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Collecting java heap dump (HPROF file) from system core in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/collecting-java-heap-dump-hprof-file-from-system-core/m-p/4738881#M609095</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I would like to know if we can collect heap dump from system core of a crashed java process.&lt;BR /&gt;&lt;BR /&gt;JVM: 1.6.*&lt;BR /&gt;HP-UX: 11.23/31 ia64&lt;BR /&gt;&lt;BR /&gt;Sun JDK has a 'jmap' utility which provides similar facility. I found from the below link one can do most operations like collecting the java stack frame using wdb, but couldn't find how to collect a HPROF file.&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/5992-4687/ch01s05.html" target="_blank"&gt;http://docs.hp.com/en/5992-4687/ch01s05.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Though wdb has commands to inspect the heap objects, its not as sophisticated as Eclipse MAT which I feel as a preferred tool for analyzing java heap. Also, we have some custom analysis plugins for MAT which we will not be able to use for processes using HP-UX java.&lt;BR /&gt;&lt;BR /&gt;Is there some mechanism to collect the heap dump from a system core file?&lt;BR /&gt;&lt;BR /&gt;Thank you,&lt;BR /&gt;Krishna&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Sat, 15 Jan 2011 07:07:29 GMT</pubDate>
    <dc:creator>Krishna R</dc:creator>
    <dc:date>2011-01-15T07:07:29Z</dc:date>
    <item>
      <title>Collecting java heap dump (HPROF file) from system core</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/collecting-java-heap-dump-hprof-file-from-system-core/m-p/4738881#M609095</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I would like to know if we can collect heap dump from system core of a crashed java process.&lt;BR /&gt;&lt;BR /&gt;JVM: 1.6.*&lt;BR /&gt;HP-UX: 11.23/31 ia64&lt;BR /&gt;&lt;BR /&gt;Sun JDK has a 'jmap' utility which provides similar facility. I found from the below link one can do most operations like collecting the java stack frame using wdb, but couldn't find how to collect a HPROF file.&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/5992-4687/ch01s05.html" target="_blank"&gt;http://docs.hp.com/en/5992-4687/ch01s05.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Though wdb has commands to inspect the heap objects, its not as sophisticated as Eclipse MAT which I feel as a preferred tool for analyzing java heap. Also, we have some custom analysis plugins for MAT which we will not be able to use for processes using HP-UX java.&lt;BR /&gt;&lt;BR /&gt;Is there some mechanism to collect the heap dump from a system core file?&lt;BR /&gt;&lt;BR /&gt;Thank you,&lt;BR /&gt;Krishna&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sat, 15 Jan 2011 07:07:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/collecting-java-heap-dump-hprof-file-from-system-core/m-p/4738881#M609095</guid>
      <dc:creator>Krishna R</dc:creator>
      <dc:date>2011-01-15T07:07:29Z</dc:date>
    </item>
    <item>
      <title>Re: Collecting java heap dump (HPROF file) from system core</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/collecting-java-heap-dump-hprof-file-from-system-core/m-p/4738882#M609096</link>
      <description>Have you contacted the Response Center to analyze your core files?</description>
      <pubDate>Sat, 15 Jan 2011 08:27:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/collecting-java-heap-dump-hprof-file-from-system-core/m-p/4738882#M609096</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2011-01-15T08:27:03Z</dc:date>
    </item>
    <item>
      <title>Re: Collecting java heap dump (HPROF file) from system core</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/collecting-java-heap-dump-hprof-file-from-system-core/m-p/4738883#M609097</link>
      <description>Hi Dennis,&lt;BR /&gt;&lt;BR /&gt;We have a multi-threaded java application with native code too, using JNI.&lt;BR /&gt;&lt;BR /&gt;Mostly application crashes due to bugs in native code. From analyzing stack backtrace, we can tell that its an application bug. &lt;BR /&gt;&lt;BR /&gt;But we can get more state information of the process during the time of crash, if we can inspect the Heap dump.&lt;BR /&gt;&lt;BR /&gt;Eclipse Memory Analyzer tool supports HPROF and IBM DTFJ, and we can obtain heap dumps from all other platforms, but didn't find a way for HPUX. Any suggestions would help.&lt;BR /&gt;&lt;BR /&gt;~ Krishna</description>
      <pubDate>Sat, 15 Jan 2011 13:59:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/collecting-java-heap-dump-hprof-file-from-system-core/m-p/4738883#M609097</guid>
      <dc:creator>Krishna R</dc:creator>
      <dc:date>2011-01-15T13:59:48Z</dc:date>
    </item>
  </channel>
</rss>

