Android Dumpsys Memory Analytics

Source: Internet
Author: User

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.