hprof2flamegraph
hprof2flamegraph copied to clipboard
UnicodeEncodeError occurred.
UnicodeEncodeError occurred when collapsed result append to file as like below
./stackcollapse_hprof_original.py out.hprof > collapsed.txt
Traceback (most recent call last):
File "./stackcollapse_hprof_original.py", line 207, in
My operating system is Mac OS. I expect collapsed result is not encoded to utf-8. So I tried just encode each of result line. After do this it's working well.