Tell HN: /tmp is hogging your RAM on Ubuntu 26

As 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

2 points | by boldi 53 minutes ago

1 comments

  • akerl_ 50 minutes ago
    This doesn’t sound new?
    • boldi 46 minutes ago
      Yeah I think this was changed in Debian back in June 2024. However, Ubuntu 26.04 is the first LTS with this change. I guess I've had this problem since April but I'm not sure how well-known this is. At the very least, this should be changed in the default settings for agent harnesses.