I have created a simple image slider 'Live Wallpaper' that will call in an image upon DoubleTap. I know there has been many different OOM issues when dealing with images in that the Android System must convert the image into a BMP which essentially increases the image size substantially.
My question is when I activate the Live Wallpaper from the Live Wallpaper Menu screen and view it in Preview mode, it works perfectly. I am able to browse through all my images without any lag or problems. However, when I go to SET the Live Wallpaper, it crashes with an OOM error. Any reason why this could be?
Preview Mode is drawn on an opaque surface whereas your desktop draws both icons, updates and animations over it.
Have you optimized the graphics? That could help quite a bit ... something like http://trimage.org if you are using jpg/png.