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>
967 B
967 B
| 1 | timestamp | uptime_s | rss_bytes | heap_committed | fd_count | query_count | query_max_us |
|---|---|---|---|---|---|---|---|
| 2 | 1784998442 | 5 | 14008320 | 15728640 | 17 | 1 | 1419736 |
| 3 | 1784998452 | 15 | 14843904 | 15728640 | 17 | 8 | 1419736 |
| 4 | 1784998463 | 25 | 15007744 | 15728640 | 17 | 18 | 1419736 |
| 5 | 1784998474 | 35 | 15040512 | 15728640 | 17 | 26 | 1419736 |
| 6 | 1784998484 | 50 | 15122432 | 15728640 | 17 | 40 | 1419736 |
| 7 | 1784998495 | 60 | 15171584 | 15728640 | 17 | 50 | 1419736 |
| 8 | 1784998506 | 70 | 15171584 | 15728640 | 17 | 60 | 1419736 |
| 9 | 1784998517 | 80 | 15187968 | 15728640 | 17 | 68 | 1419736 |
| 10 | 1784998528 | 90 | 15187968 | 15728640 | 17 | 78 | 1419736 |
| 11 | 1784998538 | 100 | 15187968 | 15728640 | 17 | 88 | 1419736 |
| 12 | 1784998549 | 110 | 15204352 | 15728640 | 17 | 96 | 1419736 |
| 13 | 1784998560 | 125 | 15204352 | 15728640 | 17 | 110 | 1419736 |
| 14 | 1784998572 | 135 | 15220736 | 15728640 | 17 | 119 | 1419736 |
| 15 | 1784998583 | 145 | 15237120 | 15728640 | 17 | 129 | 1419736 |
| 16 | 1784998594 | 155 | 15269888 | 15728640 | 17 | 137 | 1419736 |
| 17 | 1784998605 | 170 | 15269888 | 15728640 | 17 | 151 | 1419736 |
| 18 | 1784998615 | 180 | 15286272 | 15728640 | 17 | 161 | 1419736 |
| 19 | 1784998652 | 215 | 15286272 | 15728640 | 17 | 167 | 1419736 |
| 20 | 1784998701 | 265 | 15548416 | 15728640 | 17 | 167 | 1419736 |