liangzi7 / osmdroid

Automatically exported from code.google.com/p/osmdroid
0 stars 0 forks source link

Automatically clean cache and reclaim memory when activity is destroyed #501

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
BitmapPool is a singleton. This leads to the fact that the memory of bitmap 
pool is not reclaimed when activity is destroyed.
Memory of the tile cache also requires to be reclaimed manually due to static 
instances of tile sources.
Application can consume a lot of memory, while activity with the map is a 
secondary importance.

Original issue reported on code.google.com by ls.illar...@gmail.com on 14 Dec 2013 at 4:00

GoogleCodeExporter commented 9 years ago
See issue 500.

Original comment by kurtzm...@gmail.com on 18 Dec 2013 at 9:09