I made an android application with googlemap api, and draw some 16x16 png (about 200 count) on overlay. When I move or zoom on/in mapview, "out of memory" error occurs very often.
I also used the googlemap appication in my htc itself. Seams that it uses about 14+MB memmory, and never happens "out of memory".
How to save memmory usage in a googlemap api, or how to enlarge android api memmory limit.
Thanks a lot!
My own solution: Catching OutOfMemoryError when zoomin/zoomout, will prevent api to be killed by VM. Because it dies usually when doing map zoom after a translation.
Along with onZoomListener, I had added my own CustomMapView which extends MapView. This solved the memory exception in my application.