Opened 4 years ago

Last modified 3 years ago

#19004 new defect

Tile cache seems to forget tiles exist, momentarily

Reported by: jengelh@… Owned by: team
Priority: normal Milestone:
Component: Core imagery Version:
Keywords: cache Cc: wiktorn


Platform: josm 15937 (java 11.0.6 on openSUSE Leap 15.1 x86_64)

Reproduction 1:

  • Load a background map. If the source is "slow" to load, the more easily the issue can be observed. (1-2 seconds per tile is a good start to trigger this, it need not be as slow as is tonight, though!) The initial zoom I start out with is z14.
  • Zoom in a bit (went to z19 I think).
  • Zoom out to z14.

Observed for reproduction 1:

  • Screen capture of this happening: [9.1MB].
  • At 18s into the video, I zoom out again to z14, JOSM somehow forgets that it had z14 tiles in the cache - and loads them again. Not nice, but I could live with that.
  • At 29s though, JOSM switches a large portion of the viewport to a much _coarser_ tile resolution — z10 as far as I can determine — for no apparent reason, even though some z14/z15 tiles are already available.
  • In recurring tries, I found that, when zooming z14->z19->z13, JOSM would display z9 as the coarse level.

Reproduction 2:

  • Stay at zoom level and just move the viewport.

Observation 2:

We start out at a location with a serpentine-ish stretch of road, then move westwards. Some tiles load, that's ok, they are new.

  • At 12s, we go back eastwards and find that super-coarse z10 tiles are shown along the way (briefly, anyway), and
  • (at 16s) the tiles for the bendy part are at z18 or something and z19 is re-requested.

Other info:

  • Happens for TMS and WMS alike

Attachments (1)

zepnS2Eznn.mp4 (8.1 MB) - added by StephaneP 3 years ago.

Change History (4)

comment:1 Changed 4 years ago by skyper

Component: CoreCore imagery
Keywords: cache added

comment:2 Changed 4 years ago by Don-vip

Cc: wiktorn added

comment:3 Changed 3 years ago by StephaneP

Sometimes I see the "observation 2" problem too. Here is another video :

Last edited 3 years ago by StephaneP (previous) (diff)

Changed 3 years ago by StephaneP

Attachment: zepnS2Eznn.mp4 added

Modify Ticket

Change Properties
Set your email in Preferences
as new The owner will remain team.
as The resolution will be set.
to The owner will be changed from team to the specified user.
The owner will change to
as duplicate The resolution will be set to duplicate.The specified ticket will be cross-referenced with this ticket
The owner will be changed from team to anonymous.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.