---
answer: direct
beat: system-design
source: 1 article · updated: August 8, 2026
---

When does memory spike during BGSAVE?

If the parent process rewrites a large fraction of the dataset while the child is dumping, the OS must copy many pages. A 50% rewrite of an 8 GB heap can require 4 GB of new physical memory.

Answered in

Copy-on-Write Snapshots

fork() shares parent memory, copying only written pages for non-blocking snapshots. Write-heavy loads can spike memory to 2x under load.

Crashtech Editorial August 8, 2026 System Design

Read the full analysis

Other questions this article answers

More system design questions

Every answer on Crashtech is written by the editor of the article it comes from — never auto-summarised. Browse all answers or the System Design beat.