DEV Community

David · Claude Code Videos
David · Claude Code Videos

Posted on AI-assisted

One 1-minute fix cost me a 29-minute re-render on an 8GB MacBook Air

I made a 9-minute YouTube explainer with Claude Code and Remotion on an 8GB MacBook Air (M2). No editing software, everything in code. I kept a real-clock build log while it ran, so these numbers are not estimates.

The two renders

  • First render: 16,040 frames at concurrency 2, 19 min 19 s.
  • Then QC found 3 small problems (LED labels, caption line breaks, an audio peak).
  • The fix pass itself took 1 minute.
  • The re-render of the same 16,040 frames took 29 min 05 s, with macOS swap sitting around 13 GB.

So the fix was 1 minute and the price of fixing it was almost half an hour. Same machine, same frames, 10 minutes slower, because memory was already under pressure.

What I'd do differently

  1. Batch every fix before you re-render. Re-rendering is the expensive step on a small machine, so I now collect everything QC finds first and render once.
  2. Check free disk before a long render. Mid-project I hit 18 GB free because of swap. I cleared old Codex logs and got to 27 GB free before continuing.
  3. Keep concurrency low on 8 GB. I used 2. I did not test higher, so I can't tell you what the limit is.

What I did not measure

I didn't compare against a 16 GB machine, and I didn't test other concurrency values. This is one project on one machine.

The whole build, from brief to last finished step (including two trailers), took 3 h 49 min.

I'm putting the prompts, the CLAUDE.md and the build-log format into a free starter kit: https://davidmakesvids.gumroad.com/l/starter-kit

Top comments (0)