The size of the app in Android to allocate memory

Source: Internet
Author: User

To figure out how much memory each application can allocate in the Android system, we used a real machine to test the model for Meizu MX4 pro,3g memory.

The test method is to request a larger memory space directly, and see if the application crashes when it requests a maximum amount of memory space.

Results: (1) when the attribute android:largeheap = "true" is not set, the maximum memory space that can be requested is 221M.

(2) When setting the attribute Android:largeheap = "true", the maximum memory space that can be applied is 478M, which is twice times more than the original.

Internet users have put forward the maximum amount of memory available to the mobile phone configuration, will be verified later.

The size of the app in Android to allocate memory

Related Article

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.