Trần Kim Dự
Trần Kim Dự

Reputation: 6102

Android: why is memory usage for one application drasmatically larger than allowable memory for one process

As I researched, Android allocates limit memory for each process, maybe range from 16MB to 24MB for each one. Here is reference

Nevertheless when I view memory usage for one application in setting, I often see one normal application costs hundred megabytes for memory (on one process). There is a conflict here that I cannot understand.

Thanks :)

Upvotes: 1

Views: 354

Answers (1)

CommonsWare
CommonsWare

Reputation: 1006614

NDK code can use more system RAM than can a single Dalvik/ART process. Also, the app might be using more than one process, or it might be using android:largeHeap to request an above-normal heap size.

Upvotes: 2

Related Questions