use heapdump, if it's installed