I have a java.hprof.txt file (auto-generated after OutOfMemoryError) that I would like to convert to the hprof binary format. Is there an easy way to do this?
No no. You have to create it again as a binary hprof.