Tell HN: /tmp is hogging your RAM on Ubuntu 26
10 pointsAs a Ubuntu user, it was just brought to my attention that /tmp is now mounted on tmpfs (aka your RAM).
Coding agents, like Claude Code, use /tmp as a scratchpad for files, model weights, etc.
Therefore, if you have RAM constraints, consider setting CLAUDE_CODE_TMPDIR to e.g. ~/.claude/tmp
Comments (4) 4 threads
Show all comments
Showing thread 2 of 4