CLAUDE_CODE_WARN_MEMORY_FREE_GIB
A Claude Code environment variable, read out of the shipped bundle. It has been in the build since v2.1.304, including the newest one read.
Setting CLAUDE_CODE_SKIP_PLUGIN_LOCAL_MCP_SERVERS keeps only remote MCP servers from plugins, and several other environment variables are new
Not Anthropic's. This is the line from the earliest changelog entry here that named it, v2.1.304.
In the changelogs
3Releases whose published page names CLAUDE_CODE_WARN_MEMORY_FREE_GIB.
-
v2.1.304
New environment variables can stop plugins from starting local MCP servers
Setting CLAUDE_CODE_SKIP_PLUGIN_LOCAL_MCP_SERVERS keeps only remote MCP servers from plugins, and several other environment variables are new
found in this entry's text
-
v2.1.304
New environment variables for startup marks and low disk or memory warnings
New environment variables let SDK hosts read startup marks and set free disk and memory warning thresholds, and are passed on to child processes
found in this entry's text
-
v2.1.304
Warnings when disk space or memory runs low
Claude Code can warn you, and tell Claude, when free disk space or memory drops below limits you set with two new environment variables
found in this entry's text
First cited
0No release's published evidence quotes this name. The ledger indexes the Evidence lines of every changelog on this site, so this says nobody here has ever quoted it; it says nothing about how old the name is.
Presence across releases
1Build by build
5One row per release since the first build this name was read out of. Absent means the build was read and the name was not in it, never mined means no bundle for that release was ever archived, and a declared type or a default is only ever what that release's own bundle stated.
Read out of the published npm bundle release by release, and out of Anthropic's own documentation as this site captured it. Nothing on this page is a description anybody here wrote about what the environment variable does. All environment variables.