Once the image is copied to the canvas, you should set image.src = ''; so that gecko can release the decoded image memory. This makes a big difference on our devices.