mirror of
https://github.com/DeusData/codebase-memory-mcp.git
synced 2026-12-04 04:37:20 +08:00
Reverts 3cd1d33. It was built on the theory that per-connection thread-heap
churn drove #581, and the measurements later falsified that: growth scaled with
requests rather than threads, and the real cause was thread heaps never being
released at all, fixed separately by the TLS detach callback.
It also broke a Windows regression guard -- test_daemon_stability
section_cold_storm, 'a fixed Windows bug is broken again' -- which is what
concurrent clients racing to spawn a daemon do to reworked reaping and shutdown
ordering. A concurrency rewrite that fixes nothing it claimed and reopens a
closed bug does not belong in a release-blocking PR.
The allocator thread-heap fix is untouched.
Signed-off-by: Martin Vogel <martin.vogel.tech@gmail.com>
686 B
686 B
| 1 | timestamp | uptime_s | rss_bytes | heap_committed | fd_count | query_count | query_max_us |
|---|---|---|---|---|---|---|---|
| 2 | 1784988973 | 5 | 13877248 | 15728640 | 17 | 1 | 1324057 |
| 3 | 1784988982 | 15 | 17661952 | 15728640 | 17 | 21 | 1324057 |
| 4 | 1784988994 | 25 | 17825792 | 15728640 | 17 | 41 | 1324057 |
| 5 | 1784989006 | 40 | 17907712 | 15728640 | 17 | 71 | 1324057 |
| 6 | 1784989018 | 50 | 17924096 | 15728640 | 17 | 94 | 1324057 |
| 7 | 1784989029 | 60 | 17956864 | 15728640 | 17 | 116 | 1324057 |
| 8 | 1784989041 | 75 | 18038784 | 15728640 | 17 | 146 | 1324057 |
| 9 | 1784989053 | 85 | 18055168 | 15728640 | 17 | 166 | 1324057 |
| 10 | 1784989065 | 95 | 18055168 | 15728640 | 17 | 191 | 1324057 |
| 11 | 1784989076 | 110 | 18071552 | 15728640 | 17 | 221 | 1324057 |
| 12 | 1784989088 | 120 | 18087936 | 15728640 | 17 | 241 | 1324057 |
| 13 | 1784989123 | 155 | 18087936 | 15728640 | 17 | 256 | 1324057 |
| 14 | 1784989169 | 200 | 17072128 | 15728640 | 17 | 256 | 1324057 |