After some testing with a completed product, I have just found that the hardware devices I have all have large VM Heaps.
The lowest being 32MB.
My application is a memory intensive application that loads a bunch of high quality, alpha images and draws them to the canvas as an animation. There can be up to two sets of these loaded (one for the current animation and one for the next)
I am now concerned after having decreased the VM Heap Size on one of my devices to 16MB that it won’t in fact run on devices with a heap size that small.
Since I can not do much about the size of the images, and there is little I can do to reduce the number of images, I ask how would I go about chieving the same result with less stringent memory restrictions?
Thanks
When you say high quality, do you mean high resolution? My suggestion is that you only store in memory what you need to display on screen, and store the rest on the filesystem. You could then process it in chunks in the background. Not sure if that’ll work for you, I don’t really understand what your app does.