PATRIK27 / osmdroid

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

No limit to disk space used when caching #109

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
As of right now osmdroid does not limit the amount of disk space used when 
caching tiles.   They have an expiry date set of about a month, but will keep  
using more and more space on disk.   It might not be a bad idea to limit the 
amount of cached tiles on disk to 100? or so.

Original issue reported on code.google.com by Biso.Shr...@gmail.com on 29 Oct 2010 at 6:04

GoogleCodeExporter commented 8 years ago
Apologies, I meant to enter this as an enhancement request.

Original comment by Biso.Shr...@gmail.com on 29 Oct 2010 at 6:05

GoogleCodeExporter commented 8 years ago

Original comment by neilboyd on 30 Oct 2010 at 9:15

GoogleCodeExporter commented 8 years ago
Hey,

This is a small patch to introduce a limit to disk space used when caching 
tiles. The limit is 600Mb.

Let me know your comments

Thanks

Original comment by fabien.c...@gmail.com on 8 Dec 2010 at 10:53

Attachments:

GoogleCodeExporter commented 8 years ago
This issue was closed by revision r511.

Original comment by neilboyd on 9 Dec 2010 at 8:56

GoogleCodeExporter commented 8 years ago
@Fabien

I've committed your patch with a few changes. If you think the changes I made 
are wrong, please let me know.

Original comment by neilboyd on 9 Dec 2010 at 8:57