The database is supposed to keep a track of the tiles that are on the file
system, and delete old
ones when the cache exceeds a certain size.
This isn't fully implemented because
OpenStreetMapTileProviderDataBase.deleteOldest is commented
out.
But it is never going to work properly because you can never be sure that the
database corresponds
to the reality of the file system, especially if you use an external tool to
download tiles, such
as OSMMapTilePackager.
The database adds quite an overhead to the CPU usage.
So it would be better to just get rid of the database altogether.
Original issue reported on code.google.com by neilboyd on 14 Apr 2010 at 2:25
Original issue reported on code.google.com by
neilboyd
on 14 Apr 2010 at 2:25