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.
C aiderastclaude-codecode-analysiscode-intelligencecodexcursorcypherdeveloper-toolsgemini-cligraph-visualizationkilocodeknowledge-graphmcpmcp-servermodel-context-protocolopencodesqlitetree-sitterwindsurf
Merge pull request #2197 from astandrik/fix/1696-memlab-runtime-isolation
Martin Vogel5aeebbac683b
diff --cc scripts/memlab.shindex 537738d60,4e441723a..d3136b43c--- a/scripts/memlab.sh+++ b/scripts/memlab.sh@@@ -113,20 -123,18 +128,23 @@@ donecho "=== memlab: binary=$BINARY requests=$REQUESTS label=$LABEL ==="echo "corpus: $(find "$CORPUS" -name '*.py' | wc -l | tr -d ' ') files"- # The Windows binary needs a native path here; an msys /c/... path is not one.- if command -v cygpath >/dev/null 2>&1 && ! command -v winepath >/dev/null 2>&1; then+ # The native Windows binary needs a native path here, under its stamped root;+ # an msys /c/... path is not one. Everywhere else the helper's owner-only cache+ # (already exported as CBM_CACHE_DIR) is the cache.+ if [ -n "${WIN_ROOT:-}" ]; thenmkdir -p "$WORK/cache"export CBM_CACHE_DIR="$(cygpath -w "$WORK/cache")"+ CACHE_HOST="$WORK/cache"else- export CBM_CACHE_DIR="$WORK/cache"+ CACHE_HOST="$CBM_TEST_CACHE_DIR_HOST"fi-export CBM_MEM_PROFILE=1-export CBM_MEM_PROFILE_OUT="$PROFILE_OUT"+export CBM_MEMWASTE=1+export CBM_MEMWASTE_OUT="$PROFILE_OUT"+# The server marks a memory phase at every request stage, and the layer dumps+# at each mark: live bytes per site become a series over identical requests. The+# series needs neither the fill scan nor the duplicate hash, which only cost time.+export CBM_MEMWASTE_FILL=0+export CBM_MEMWASTE_DUPES=0export CBM_MEM_CENSUS=1export CBM_LOG_LEVEL=infoexport CBM_LOG_FORMAT=text