On 2013-04-03 11:21, Florian Lohoff wrote:
Hi,
i send an email a couple of months back about the jmapviewer tilecache
used by josm using a flat directory for storing the tiles.
Today now i stumbled that doing a find in the .josm directory takes
upwards of 10 Minutes on my Quad i7 with a 7200 IDE Disk on
Debian/Wheezy.
Doing a cache cold "ls" in ~/.josm/tilecache/Bing Aerial Maps
takes
flo@p2:~/.josm/tilecache/Bing Aerial Maps$ time ls >/dev/null
real 9m3.151s
user 0m23.133s
sys 0m26.474s
flo@p2:~/.josm/tilecache/Bing Aerial Maps$ ls -1 | wc -l
1846091
9 Minutes 3 seconds for a ls - 1.8Mio files in a single directory.
The same problem exists in Windows XP. After a while the directory gets
so filled with files that viewing the directory takes a long time and
deleting all files (and XP is horrible when deleting a lot of files in
the explorer) is even impossible.
I always start a command prompt to delete files there.
In Windows XP JOSM has another problem: it creates large number of
jar_cache*.tmp files in the temp directory. Some of them are tiles from
the download screen (rename to .png and you see tiles), others are
empty. They are not deleted after JOSM exists. I don't know if this also
happens on Unix, I'll beter make a ticket for this I guess.
Regards,
Maarten
_______________________________________________
josm-dev mailing list
josm-dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/josm-dev