title: How do I analyze a Java heap dump when local memory is less than the size of the dumped heap?
body: <p>I have a really big <em>hprof</em> file about <strong>21G</strong> which located on a remote server with <strong>32G</strong> memory, and I would like to understand what happened in my program. However, on my local desktop I have only <strong>8G</strong> memory so it's impossible to launch this file locally.</p>
  <p>I tried</p>
  <pre><code>jhad -J-d64 -J-mx25g
  </code></pre>
  <p>but it failed with out of memory error on remove server.</p>
  <p>So maybe exists other tools with may help me analyze this file?</p>