mirror of
https://github.com/spacedriveapp/spacedrive.git
synced 2026-11-03 22:05:11 -05:00
NodeArena mapped a NamedTempFile, which is removed only when Drop runs. A daemon that is killed never runs it, so every exit left each arena's file behind in the temp directory: about ten per start, plus one per replica rebuild. Titan's /tmp is a tmpfs with no swap, so 1,949 of these held 9.4 GB of RAM that nothing could reclaim, leaving the daemon under 2 GB free. tempfile() gives the file no name, so the kernel frees it when the process exits however it exits. Mapping, growth and paging are unchanged. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>