After studying the analysis methods of mat and heap, try to analyze it in other ways, and look at the results ofAndroidDumpsys.
How to figure out the operation of the data is not said, there are too many online, only look at the data for analysis. 1, the start of the situation to execute three suspected leaked features after the data re-execution three times and then perform three data analysis: Native data represents the data of the JNI layer, from the Mallinfo Usmblks obtained Dalvik data represents the Java layer of data, from the runtime TotalMemory obtained a Size representation is the largest data that can be obtained alloc represents the data currently in use in 1. The Size of the Native remains essentially the same, but with the operation, the alloc is constantly approaching and there may be a problem. Because the bitmap data exists here. If not released, hehe, the crash is unavoidable. 2. There are no signs of Dalvik Alloc, and there may be problems that can only be guessed.