out-of-memoryandroid-animationheap-memorygalaxy

What is the Samsung Galaxy S3's Heap Size?


I have a small animation (AnimationDrawable) that consists of 9 frames with resolution of 480x800.

When I was running that activity with the animation on my "old" SGS1 everything was fine. Now I got the S3 and the exact same code gave me an outofMemoryError. That's not what I'd expect of a QuadCore/1GB RAM mobile phone. When I reduced the resolution of the animation, everything worked fine.

Did they really reduce the memory/heap?


Solution

  • Examine the /system/build.prop file and look for 'dalvik.vm.heapsize' - that supposedly is the value for memory heap size allowed for each application process