Opened 9 years ago
Closed 9 years ago
#13119 closed defect (fixed)
Can't clear imagery cache from inside JOSM
Reported by: | rickmastfan67 | Owned by: | wiktorn |
---|---|---|---|
Priority: | major | Milestone: | 16.07 |
Component: | Core imagery | Version: | latest |
Keywords: | regression jcs blockdiskcache | Cc: | Klumbumbus |
Description
Steps to reproduce:
- Load an OSM file and activate any imagery source as a background.
- After you let the imagery source download the images, close both the data and imagery layer (but not JOSM).
- Preferences > Imagery Preferences > Cache contents
- Hit the clear button on which ever type of imagery you loaded. (Please note the # that's in the "Object Count" column before clearing that entry.)
- Notice it now says '0' in the "Object Count" column for that imagery source.
- Close & restart JOSM.
- Once JOSM has been restarted, Preferences > Imagery Preferences > Cache contents
What happens:
The imagery layer that you 'cleared' in Step 4 has the same # as before you 'cleared' it.
What should happen:
The imagery source shouldn't even be listed anymore since you supposedly cleared all it's files back in Step 4.
This "Clear" button had been working in the past, but it's now obviously no longer working. :( Only workaround for this is to manually go to the folder where the files are stored for the imagery downloads and manually delete all of the files. That's the only way currently to clear them out.
URL:http://josm.openstreetmap.de/svn/trunk Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b Last:Changed Date: 2016-07-08 03:20:06 +0200 (Fri, 08 Jul 2016) Build-Date:2016-07-08 01:33:09 Revision:10521 Relative:URL: ^/trunk Identification: JOSM/1.5 (10521 en) Windows 7 64-Bit Memory Usage: 574 MB / 1820 MB (377 MB allocated, but free) Java version: 1.8.0_77-b03, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM Plugins: - OpeningHoursEditor (32309) - buildings_tools (32309) - measurement (32324) - osmarender (32309) - reverter (32309) - turnlanes-tagging (1467927825) - turnrestrictions (32386) - undelete (32309) - utilsplugin2 (32333)
Attachments (0)
Change History (8)
comment:1 by , 9 years ago
Keywords: | jcs blockdiskcache added |
---|
comment:3 by , 9 years ago
Milestone: | → 16.07 |
---|
comment:4 by , 9 years ago
Owner: | changed from | to
---|
comment:5 by , 9 years ago
Cc: | removed |
---|
comment:6 by , 9 years ago
Cc: | added |
---|
comment:7 by , 9 years ago
Issue has just been solved on JCS side: http://svn.apache.org/viewvc?view=revision&sortby=date&revision=1755432
comment:8 by , 9 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
It looks like there is a bug in JCS BlockDiskCache that mishandles multiple object removal.
You can switch back do IndexedDiskCache by setting:
Until the bug will be fixed in JCS.