return writeHeapHprofBin("heap.bin");
}
private boolean writeHeapGXL(String fileName) {
try {
HeapGraphWriter hgw = new HeapGXLWriter();
hgw.write(fileName);
System.out.println("heap written to " + fileName);
return true;
} catch (IOException exp) {
System.err.println(exp.getMessage());
return false;