1

Android grow heap - should I worry?

view story
linux-howto

http://stackoverflow.com – I've read something about an application having 16MB of memory "reserved" when it's on front. At least, as a developer I should count on this, even though depending on the device it may be more. I'm supporting down to 2.2 froyo, so many devices will not be high-end devices. I get some messages in Logcat saying this: 03-29 14:08:51.570: I/dalvikvm-heap(19899): Grow heap (frag case) to 13.624MB for 200765-byte allocation What worries me is the 13MB. I don't know if my app may crash if it reaches 16MB. Should I seriously consider optimizing some code? (HowTos)