Skip to content

Local code intelligence for developers and AI agents. Connect code, docs and infrastructure in a persistent graph, with CBM Lens, MCP tools, agent integrations and change-aware test selection.

docs(windows): aclara el alcance del margen de memoria

Subgurime65bc6b71e32
diff --git a/src/mcp/index_supervisor.c b/src/mcp/index_supervisor.c
index 87cda7cbd..837f4a4dc 100644
--- a/src/mcp/index_supervisor.c
+++ b/src/mcp/index_supervisor.c
@@ -639,10 +639,10 @@ size_t cbm_index_worker_job_memory_limit(size_t memory_budget_bytes) {
* needs memory). Keep their argv value but leave the OS cap disabled below
* 512 MiB. KILL_ON_JOB_CLOSE remains in force regardless of the cap.
*
- * The cooperative RSS budget, including its fail-whole over-budget gate,
- * gets first chance to recover/abort. Windows charges job-wide COMMIT, not
- * RSS, so this 1.5x limit is a looser last-resort backstop for descendants
- * too, not an exact enforcement of the worker's accounting budget. */
+ * Windows charges job-wide COMMIT, not RSS. This 1.5x limit leaves room
+ * for the cooperative budget's recovery/abort gate, but an allocation can
+ * still be denied before the next cooperative check. It is a backstop for
+ * descendants too, not exact enforcement of the accounting budget. */
const size_t minimum_budget = (size_t)512U * 1024U * 1024U;
if (memory_budget_bytes < minimum_budget) {
return 0;