HT
How Things Work
System Online

CLR Garbage Collection Visualizer

Watch .NET's generational garbage collector mark, sweep, promote, and compact objects.

MARK
SWEEP
PROMOTE
COMPACT

Generation 0

Config
32B
Buffer
32B
String
96B
List
32B
Buffer
96B
Array
64B

Generation 1

Task
64B
Array
64B
Task
96B
Buffer
64B

Generation 2

String
96B
Array
96B
Task
96B

Heap Summary

6
Gen 0 objects
4
Gen 1 objects
3
Gen 2 objects

Join the discussion

Comments

?

Loading comments...

Cookie preferences

We use essential cookies for sign-in and preferences. With your permission, we also use basic analytics to improve lessons.