From the engineering review on 2026-10-13. Timings are flutter test debug mode on macOS and measure CPU work only, so read the scaling and not the milliseconds. Nothing here measured GPU cost.
_qtTileImages (lib/rendering/canvas_painter.dart:415) is only cleared on a scene key change or clearV2TileCache. The band picture cache has a cap; this one does not, so browsing a big map without editing grows texture memory steadily.
Evidence:test/review_probes/perf_static_paint.dart (local, untracked), zoom and pan sweep over a 5000 segment map with no edits:
Scale
Images cached
Nominal size at 1024x1024 RGBA
0.15
13
52 MB
0.6
115
460 MB
1.2
255
1020 MB
2.4
399
1596 MB
The size is tile count x 4 MB, not measured memory. The theoretical bound is the full pyramid to kQtMaxLevel = 6, 5461 tiles.
Fix sketch: LRU cap by bytes, always keeping levels 0 and 1.
From the engineering review on 2026-10-13. Timings are `flutter test` debug mode on macOS and measure CPU work only, so read the scaling and not the milliseconds. Nothing here measured GPU cost.
`_qtTileImages` (`lib/rendering/canvas_painter.dart:415`) is only cleared on a scene key change or `clearV2TileCache`. The band picture cache has a cap; this one does not, so browsing a big map without editing grows texture memory steadily.
**Evidence:** `test/review_probes/perf_static_paint.dart` (local, untracked), zoom and pan sweep over a 5000 segment map with no edits:
| Scale | Images cached | Nominal size at 1024x1024 RGBA |
|---|---|---|
| 0.15 | 13 | 52 MB |
| 0.6 | 115 | 460 MB |
| 1.2 | 255 | 1020 MB |
| 2.4 | 399 | 1596 MB |
The size is tile count x 4 MB, not measured memory. The theoretical bound is the full pyramid to `kQtMaxLevel = 6`, 5461 tiles.
**Fix sketch:** LRU cap by bytes, always keeping levels 0 and 1.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
From the engineering review on 2026-10-13. Timings are
flutter testdebug mode on macOS and measure CPU work only, so read the scaling and not the milliseconds. Nothing here measured GPU cost._qtTileImages(lib/rendering/canvas_painter.dart:415) is only cleared on a scene key change orclearV2TileCache. The band picture cache has a cap; this one does not, so browsing a big map without editing grows texture memory steadily.Evidence:
test/review_probes/perf_static_paint.dart(local, untracked), zoom and pan sweep over a 5000 segment map with no edits:The size is tile count x 4 MB, not measured memory. The theoretical bound is the full pyramid to
kQtMaxLevel = 6, 5461 tiles.Fix sketch: LRU cap by bytes, always keeping levels 0 and 1.