AI agents consume all your memory in linux by default A developer traced repeated freezes on a 64 GB Linux workstation to roughly 22 GB of agent-created files accumulating in a tmpfs-backed /tmp, where contents live in RAM or swap and cannot be discarded like ordinary disk cache. The writeup recommends diagnosing the mount with findmnt, df and du, then either redirecting agents to a disk-backed directory via TMPDIR or masking systemd's tmp.mount so /tmp falls back to the root filesystem. The author notes the behavior is not unique to AI workloads, since compilers such as GCC also create temporary intermediate files, but parallel coding agents made the memory trade-off visible. My 64 GB Linux workstation kept freezing while coding agents worked on a couple of projects. All 4 GB of swap filled up. Applications were killed. Half the memory looked like cache. Then I found 22 GB of agent-created files in a tmpfs-backed /tmp . tmpfs stores file contents in RAM or swap . Unlike clean disk-backed cache, those contents cannot simply be discarded. Some memory monitors include tmpfs in cache-related accounting, making the memory pressure easy to misread.