title: Can I download a heap dump to run pprof on later?
body: <p>I'm trying to find a way to store the heap data from pprof so that I can share it, view it later, attach to issues and so on. My attempts so far have not worked.</p>
  
  <p>If I run</p>
  
  <p><code>go tool pprof http://my-server/debug/pprof/heap</code> and then run <code>web</code>, I get a full graph like I expect. However, If I dowload the file:</p>
  
  <p><code>wget -O heapDump http://my-server/debug/pprof/heap</code></p>
  
  <p>and try <code>go tool pprof heapDump</code>, it seems it can't do everything it needs to. I only get a very limited graph:</p>
  
  <p><a href="https://i.stack.imgur.com/UiUnb.png" rel="noreferrer"><img src="https://i.stack.imgur.com/UiUnb.png" alt="enter image description here"></a></p>
  
  <p>I have tried adding <code>?debug=1</code> and playing with different values, but none of them seem to work properly.</p>