Search code examples
javamemory-leaksprofilinghprof

Way to convert java.hprof.txt to binary hprof format?


I have a java.hprof.txt file (automatically generated after an OutOfMemoryError) which I would like to convert to the binary hprof format. Is there any easy way to do this?


Solution

  • No there isn't. You have to create it again as a binary hprof.