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 | 1784938306 | 5 | 13860864 | 15728640 | 17 | 1 | 1310092 |
| 3 | 1784938316 | 15 | 17678336 | 15728640 | 17 | 21 | 1310092 |
| 4 | 1784938328 | 25 | 17874944 | 15728640 | 17 | 41 | 1310092 |
| 5 | 1784938339 | 40 | 17956864 | 15728640 | 17 | 71 | 1310092 |
| 6 | 1784938351 | 50 | 17973248 | 15728640 | 17 | 96 | 1310092 |
| 7 | 1784938363 | 60 | 18022400 | 15728640 | 17 | 116 | 1310092 |
| 8 | 1784938375 | 75 | 18038784 | 15728640 | 17 | 146 | 1310092 |
| 9 | 1784938386 | 85 | 18055168 | 15728640 | 17 | 169 | 1310092 |
| 10 | 1784938398 | 95 | 18055168 | 15728640 | 17 | 191 | 1310092 |
| 11 | 1784938410 | 110 | 18071552 | 15728640 | 17 | 221 | 1310092 |
| 12 | 1784938421 | 120 | 18087936 | 15728640 | 17 | 243 | 1310092 |
| 13 | 1784938456 | 155 | 18087936 | 15728640 | 17 | 256 | 1310092 |
| 14 | 1784938502 | 200 | 17072128 | 15728640 | 17 | 256 | 1310092 |