Claude Code crashes Mac mini due to full disk, prompting hourly watchdog
A solo operator’s Mac mini ran out of disk space on November 13, halting Claude Code’s ability to generate YouTube videos, apps, and articles.
Key points
- Claude Code halted on November 13 when the Mac mini’s disk filled up, halting all automated content creation
- 11 GB of conversation logs and regeneratable folders (`node_modules`, `.next`) caused the initial crash, plus swap space spikes
- Hourly watchdog ran 90 times over eight days, deleting 22 folders but recovering minimal space due to recurring issues
The system relies entirely on Claude Code for content creation: five Japanese and five English YouTube channels, three free smartphone apps (with six downloads total), and blog articles. The disk filled up because temporary project folders (like node_modules and .next) and Claude’s conversation logs (11 GB of .jsonl files) were never deleted, despite being regeneratable or archivable. Swap space also consumed disk when memory ran low, dropping free space from 10 GB to 3 GB in three minutes after launching multiple Chrome windows.
The operator built a script called diskwatch.sh to monitor free space hourly. Over eight days (November 13–20), it ran 90 times, deleting 22 folders (15 on the first day) and recovering minimal space. The script evolved to exclude critical caches (like Playwright browsers) and move logs to an external SSD after five days. Key lessons: watchdogs only clear initial clutter, not recurring issues; alerts must be throttled to avoid drowning the user; and write permissions on external drives must be checked before moving files. The system now logs swap usage and only alerts when free space drops by 2 GB or more since the last check.
The story so far
2 episodes →- Claude Code crashes Mac mini due to full disk, prompting hourly watchdogthis story

The headline, key points and digest above were generated by Digest AI's editorial model from the linked sources. Automated summaries can contain errors: the sources are the record. Spotted a mistake? Tell us. Published by Martin K., who runs Digest AI and handles corrections.
More in Marketing & Small Business
All →- Dentsu study tests Meta and OpenAI agents with credit cards for holiday shopping · 2 src
- Google Cloud showcases Indian enterprises’ AI adoption · 5 src
- Zocdoc adds deductible checks to Meta’s Muse · 1 src
- Fly Media raises $10M to expand AI character portfolio · 1 src
- LangChain Adds Goals to Track Agent Outcomes · 1 src
Comments
via GitHub Discussions