Tuesday, February 26, 2013

HUGE ANDROID MEMORY BUG - and bug hunting badge of awesomeness #2 to Steve Dunford

I received a really small but important bugfix today, containing:

new BitmapFactory.Options() {InPurgeable = true};

See https://github.com/steveydee82/MvvmCross/commit/460f71ed323b0b64386408341097de3b0c82987d

This bugfix is awesome and really very very important!



Without it, Android's Bitmap engine can fill up your device's RAM and will never give it back.

You can read about the inPurgeable and other options on http://developer.android.com/reference/android/graphics/BitmapFactory.Options.html

For heroic work in hunting down this 'leak' ... and for this awesome bugfix, Steve Dunford, we salute you and reward you with our highest honour - a second Badge of Awesomeness:



Also a special note of thanks also to Greg Broadmore for permission to use his fabulous Bug Hunter picture - http://www.gregbroadmore.com/imgpg.php?page=126

No comments:

Post a Comment