Add ability to generate a Heap Snapshot