Every agent's model. One place. Codex on DeepSeek, Claude Code on Kimi, from the menu bar.
gui: the page reads hand memory back only after 30s at rest, past every poll (#2278)
yetone936bdccfabb3
diff --git a/internal/gui/page_memory.go b/internal/gui/page_memory.goindex 2de27075b..99a30cac7 100644--- a/internal/gui/page_memory.go+++ b/internal/gui/page_memory.go@@ -17,9 +17,12 @@ import (// reads aren't its requests. So once those reads have rested for// pageRest, what they left goes back at once, as the warm-up's does.-// pageRest is how long the page reads rest before that: a poll's few-// reads come within a second of one another.-const pageRest = 3 * time.Second+// pageRest is how long the page reads rest before that. It outlasts the+// pages' polls (Usage every 10 s, Sessions every 15 s), so the pages go+// back once a window stops polling, not between an open window's polls:+// at 3 s every poll took back the pages the last one handed back, and+// madvise and the collections it drove were ~40% of the CPU (#2278).+const pageRest = 30 * time.Secondvar pageReads struct {sync.Mutex