I'm creating image objects from buffers received from server (PNG format).
I notices that the size of the image on NOKIA 6280 is much bigger
than on other devices.
I used freeMemory call to log the free memory before and after image creation.
On Sony K610 each image decrements free memory by a constant amount of 352 bytes.
On Nokia 6280 each image decrements free memory by:
Buffer size is 200 bytes reduces free memory by 3500 bytes.
Buffer size is 440 bytes reduces free memory by 12K bytes.
Buffer size is 11K bytes reduces free memory by 55K bytes.
It seams that NOKIA stores the images as raw data for performance reasons. Is it possible to reduce the memory
consumption of images on 6280?
Another problem I have is that it seams that garbage collection
does not collect these images. I set to null the pointers to images and then called System.gc() but free memory remained as