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>
638 B
638 B
| 1 | timestamp | uptime_s | rss_bytes | heap_committed | fd_count | query_count | query_max_us |
|---|---|---|---|---|---|---|---|
| 2 | 1784989591 | 5 | 14024704 | 15728640 | 17 | 1 | 1330349 |
| 3 | 1784989601 | 15 | 17874944 | 15728640 | 17 | 21 | 1330349 |
| 4 | 1784989613 | 25 | 18087936 | 15728640 | 17 | 41 | 1330349 |
| 5 | 1784989624 | 40 | 18186240 | 15728640 | 17 | 71 | 1330349 |
| 6 | 1784989636 | 50 | 18202624 | 15728640 | 17 | 95 | 1330349 |
| 7 | 1784989648 | 60 | 18235392 | 15728640 | 17 | 116 | 1330349 |
| 8 | 1784989660 | 75 | 18251776 | 15728640 | 17 | 146 | 1330349 |
| 9 | 1784989671 | 85 | 18268160 | 15728640 | 17 | 166 | 1330349 |
| 10 | 1784989683 | 95 | 18284544 | 15728640 | 17 | 191 | 1330349 |
| 11 | 1784989695 | 110 | 18300928 | 15728640 | 17 | 221 | 1330349 |
| 12 | 1784989707 | 120 | 18317312 | 15728640 | 17 | 241 | 1330349 |
| 13 | 1784989741 | 155 | 18333696 | 15728640 | 17 | 256 | 1330349 |