mirror of
https://github.com/DeusData/codebase-memory-mcp.git
synced 2026-10-30 07:23:47 +08:00
revert(store): drop the page-cache hoist from process init
Measurement retired the theory it was built on: the slab installs correctly now (config_failed=0) and the leak was unchanged, because the cause was thread heaps never being released rather than page-cache fragmentation. It also runs at the top of main() for every process, including the launcher, and the managed reinstall guard went red. A change that fixes nothing it claimed does not get to stay on a release-blocking PR while a Windows guard is failing. cbm_store_configure_pagecache remains available for a future attempt wired ahead of sqlite3_initialize deliberately. Signed-off-by: Martin Vogel <martin.vogel.tech@gmail.com>
This commit is contained in:
@@ -1706,9 +1706,6 @@ static int main_run_daemon_ctl(int argc, char **argv, const cbm_daemon_ipc_endpo
|
||||
int main(int argc, char **argv) {
|
||||
/* Must remain the first statement: see allocator binding contract above. */
|
||||
cbm_alloc_init();
|
||||
/* Immediately after, and before anything can touch SQLite: the page-cache
|
||||
* slab can only be installed ahead of sqlite3_initialize (#581). */
|
||||
cbm_store_configure_pagecache();
|
||||
#ifndef _WIN32
|
||||
pid_t process_initial_ppid = getppid();
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user