node-heap-dump icon indicating copy to clipboard operation
node-heap-dump copied to clipboard

Heap dump format has changed?

Open jwalton opened this issue 12 years ago • 1 comments

I'm trying this with the latest node.js, and it looks like the format of the heap dump has changed. The format is now:

snapshot:
  title: string
  uid: num
  meta:
    node_fields: {}
    node_types: {}
    edge_fields: {}
    edge_types: {}
  node_count: num 
  edge_count: num
nodes: [] 
edges: []
strings: []

jwalton avatar Jan 31 '13 20:01 jwalton

That wouldn't be surprising. I haven't touched this in a while; it was mainly an experiment. The approach I've taken for this problem (pretty successfully, FWIW) is using core files and MDB (http://dtrace.org/blogs/dap/2011/10/31/nodejs-v8-postmortem-debugging/).

A patch for this tool would still be welcome :)

davepacheco avatar Jan 31 '13 20:01 davepacheco