什么是可以接受的Andr​​oid内存消耗?

问题描述:

我为Android与漂亮的图形比较小的应用程序,包含9patch可绘制的主要消耗约内存10MB的

My relatively small application for Android with nice graphics that consists mostly of 9patch drawables consumes about 10MB of the memory.

你是否认为这是确定?或者我应该以某种方式优化呢?什么是小应用是可以接受的内存消耗?

Do you think that it is OK? Or I should optimize it somehow? What is acceptable memory consumption for small applications?

要获得近似的每个应用程序的内存限制,您可以使用的活动的成员函数

To get approximate per-application memory limit for any device you can use Activity member function

 public int getMemoryClass ()

有是android系统中运行的应用程序,16 / 24MB内存限制。 这线程给你更多的信息。

There is a 16/24MB memory limit for application running in android. This thread gives you more info..

的教程会谈一些好的内存管理方法。

This tutorial talks about some good memory management practices..