Garbage collection
A sweep crosses a cluttered heap and leaves only the live data behind.



Not quite it? Ask for a variation
How it moves
- the heap is cluttered with old data.
- a sweep crosses it from left to right.
- only the live data is left behind.
Where it fits
For runtimes, databases and developer tools that clean up after themselves: a performance page, a docs article on memory management, or a release note about lower memory use. One sweep across a cluttered heap, leaving only the live data, explains garbage collection to readers who have never read about it, and reminds those who have why cleanup matters. It suits a section illustration beside copy about memory, cleanup or storage costs. Pair it with Backups or Storage when the page is about data kept over time.
Pairs well with Memory, Backups, Storage and Queue backlog.
On your site
Read where product illustrations go, how to place an animated SVG and how to keep animations fast.
For developers
- File size
- 4.1 KB gzipped
- Motion
- Plays once, 4.4 s, then holds
- Reduced motion
- Shows a still
- File
- garbage-collection.svg

