0

I use Android Studio Profiler dump heap the use hprof-conv to convert the heap file into a standard format

$ANDROID_HOME/platform-tools/hprof-conv memory-20230112T162214.hprof memory-20230112T162214.conv.hprof

but the MAT Histogram Objects count is not equal Android Studio Profiler for example In Android Studio Profiler

byte[] count is 112915 = 82773 + 24578 + 5564

MAT Histogram display byte[] count 106251

Eclipse Memory Analyzer Version 1.13.0

but java.lang.Class count is euqal to 16661

I used OQL select * from "byte[]"

result is 106251

how to fix the problem make Android Studio Profiler and MAT has same result, same Object count

0 Answers0