1

Any way to use LargeHeap for v3.x and ignore for 2.x in Manifest?

view story
linux-howto

http://stackoverflow.com – I'd love to use the Android:LargeHeap="true" option in the Manifest to get a bit extra memory (we're dealing with 5+ MB bitmaps on high-res 1980x1200 displays and expect even larger displays shortly. I've run out of all the normal tricks to dealing with the poor memory handling in Android for bitmaps (i.e. there is no way to know if there is a hole large enough in fragmented memory other than to try and pray it doesn't crash). I've already spent weeks optimizing, trimming and applying other tricks to minimize memory and prevent crashes. It's a trick of what features can be done in 2.x vs 3.x (HowTos)