From 9239ae7c97f305ecbb5284466774862e2e58810f Mon Sep 17 00:00:00 2001 From: Varun Gandhi Date: Fri, 18 Jul 2025 07:03:46 +0800 Subject: [PATCH] docs: Document fix for OOM error --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 4307af590..eaea187d0 100644 --- a/README.md +++ b/README.md @@ -29,6 +29,8 @@ $ # more information at https://github.com/sourcegraph/src-cli $ src code-intel upload ``` +If you hit an out-of-memory error, increase the memory limit using the environment variable `NODE_OPTIONS="--max-old-space-size=8192"` to increase the heap size limit to 8GB (or higher, if needed). + ### target-only To run scip-python over only a particular directory, you can use the `--target-only` flag. Example: