impractical hack to dump an image showing heap utilization