Parse heap snapshots in the Chrome/V8 JSON format, documented here: https://learn.microsoft.com/en-us/microsoft-edge/devtools-guide-chromium/memory-problems/heap-snapshot-schema
In Julia 1.9+:
using Profile
Profile.take_heap_snapshot("foo.heapsnapshot")
using HeapSnapshotParser
s = HeapSnapshotParser.parse_snapshot(open("foo.heapsnapshot"))