Skip to content

Status bar RAM readout with warn/error thresholds - #181

Merged
Osayi-ANL merged 2 commits into
mainfrom
add/status-bar-ram-readout
Oct 19, 2026
Merged

Osayi-ANL merged 2 commits into
mainfrom
add/status-bar-ram-readout

Conversation

@pecomyint

@pecomyint pecomyint commented Sep 30, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • Every BaseWindow viewer shows RAM: x.x GB (y%) of its own process next to CPU/GPU.
  • Orange at 25% and red at 50% of machine memory (settings.MEMORY_*), with a tooltip pointing at frame caches.

Test plan

  • pytest tests/unit passes; ruff check src/dashpva/ clean
  • New tests in test_status_bar_memory.py
  • Open any viewer; readout updates each second

🤖 Generated with Claude Code

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

@Osayi-ANL Osayi-ANL left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wasn't able to get RAM usage to the 50% threshold, but the PR looks good.

@Osayi-ANL
Osayi-ANL merged commit de1097d into main Oct 19, 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