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 | 1785015363 | 5 | 18661376 | 11534336 | 17 | 1 | 1345164 |
| 3 | 1785015373 | 15 | 19496960 | 11534336 | 17 | 8 | 1345164 |
| 4 | 1785015384 | 25 | 19775488 | 11534336 | 17 | 18 | 1345164 |
| 5 | 1785015395 | 35 | 19824640 | 11534336 | 17 | 28 | 1345164 |
| 6 | 1785015406 | 50 | 19890176 | 11534336 | 17 | 41 | 1345164 |
| 7 | 1785015417 | 60 | 19922944 | 11534336 | 17 | 50 | 1345164 |
| 8 | 1785015427 | 70 | 19922944 | 11534336 | 17 | 60 | 1345164 |
| 9 | 1785015438 | 80 | 19955712 | 11534336 | 17 | 68 | 1345164 |
| 10 | 1785015449 | 90 | 19955712 | 11534336 | 17 | 78 | 1345164 |
| 11 | 1785015460 | 100 | 19955712 | 11534336 | 17 | 88 | 1345164 |
| 12 | 1785015471 | 110 | 19972096 | 11534336 | 17 | 96 | 1345164 |
| 13 | 1785015481 | 125 | 19972096 | 11534336 | 17 | 110 | 1345164 |
| 14 | 1785015494 | 135 | 20021248 | 11534336 | 17 | 119 | 1345164 |
| 15 | 1785015504 | 145 | 20037632 | 11534336 | 17 | 129 | 1345164 |
| 16 | 1785015515 | 155 | 20037632 | 11534336 | 17 | 138 | 1345164 |
| 17 | 1785015526 | 170 | 20037632 | 11534336 | 17 | 151 | 1345164 |
| 18 | 1785015537 | 180 | 20054016 | 11534336 | 17 | 161 | 1345164 |
| 19 | 1785015573 | 215 | 20054016 | 11534336 | 17 | 167 | 1345164 |
| 20 | 1785015621 | 260 | 20250624 | 11534336 | 17 | 167 | 1345164 |