[josm-dev] josm/jmapviewer / tilecache / single directory

Florian Lohoff f at zz.de
Wed Apr 3 13:22:23 UTC 2013


On Wed, Apr 03, 2013 at 12:00:13PM +0200, Dirk Stöcker wrote:
> 
> Hmm. Did you change any of the cache parameters in config? It should
> not get that large. Probably cache clean is broken, if so, please
> open a bug?
> 

I am living behind a 384KBit/s DSL and loading tiles is a pain in the
ass as it takes ages to fill a screen with tiles. 

So a large cache is VERY WELCOME. It got that large because i was
active in northern china which is a huge area.

I want that much data in my cache - But storing it into a single
directory is - uhm - broken - Filesystems are bad in storing huge
amount of files or directories into a single dir. This is why
all caches typically organize their files into trees - e.g. squid.

Normally josm had its cache dir set to something in /tmp which is even
more broken as /tmp is typically a tmpfs on most architectures. So using
josm fills up memory and swap and cache is deleted on reboot...

As sane default could be ~/.josm/tilecache but not a single directory.

Flo
-- 
Florian Lohoff                                                 f at zz.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 828 bytes
Desc: Digital signature
URL: <http://lists.openstreetmap.org/pipermail/josm-dev/attachments/20130403/719e00ab/attachment.pgp>


More information about the josm-dev mailing list