Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DeusData/codebase-memory-mcp
/ cbm_mem_budget
Function
cbm_mem_budget
src/foundation/mem.c:504–506 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
502
}
503
504
size_t cbm_mem_budget(void) {
505
return g_budget;
506
}
507
508
void cbm_mem_set_budget_for_tests(size_t bytes) {
509
g_budget = bytes;
Callers
15
cbm_gbuf_dump_to_sqlite
Function · 0.85
handle_index_repository
Function · 0.85
cbm_daemon_application_new
Function · 0.85
host_state_prepare
Function · 0.85
cbm_daemon_host_run
Function · 0.85
sem_batch_size
Function · 0.85
cbm_parallel_extract_default_total_cap
Function · 0.85
pp_fail_whole_over_budget
Function · 0.85
pp_spill_enter
Function · 0.85
extract_worker
Function · 0.85
log_extract_mem_stats
Function · 0.85
cbm_parallel_extract_ex
Function · 0.85
Calls
no outgoing calls
Tested by
1
tf_index_worker_probe
Function · 0.68