Cognitive Technology Team
Sep 22, 2025 · Backend Development
Why /tmp Can Crash Your Spring Boot App and How to Fix It
An e‑commerce Spring Boot service crashed when uploading large files because Linux’s /tmp is a memory‑based tmpfs that fills RAM, causing OOM kills; the article explains the underlying tmpfs behavior, common pitfalls, and a three‑step solution using /var/tmp with proper configuration and permissions.
File UploadLinux tmpfsMemory Leak
0 likes · 9 min read
