mozilla-b2g/gaia — pull request #18793 by julienw (2014-04-29 16:04:51+00:00)
Title: Bug 995116 - [Tarako][MMS][Gallery] SMS/MMS OOM after attach a large pix...

...el picture from gallery r=azasypkin

This patch does the following changes:

* we use -moz-samplesize to decode the images to resize them
* we try to free data more aggressively