Skip to content

Bound the HKL3D frame cache by bytes - #183

Merged
Osayi-ANL merged 1 commit into
mainfrom
add/rsm-cache-byte-budget
Oct 21, 2026
Merged

Osayi-ANL merged 1 commit into
mainfrom
add/rsm-cache-byte-budget

Conversation

@pecomyint

Copy link
Copy Markdown
Collaborator

Summary

  • HKL3D caches image + full-resolution Q per frame (~0.4 GB on a 17 MP detector); a frame count alone can exceed RAM.
  • The RSM viewer's cache now fits RSM_CACHE_MAX_BYTES (8 GB) and shows a one-time status notice when it caps. Other viewers unchanged.

Test plan

  • pytest tests/unit passes; ruff check src/dashpva/ clean
  • New tests in test_rsm_cache_budget.py

🤖 Generated with Claude Code

@pecomyint
pecomyint requested a review from Osayi-ANL September 30, 2026 22:15
@Osayi-ANL

Copy link
Copy Markdown
Collaborator

nice

@Osayi-ANL
Osayi-ANL force-pushed the add/rsm-cache-byte-budget branch from 611d9a4 to b1fc15c Compare October 21, 2026 17:39
@Osayi-ANL
Osayi-ANL merged commit 1f80f6c into main Oct 21, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants