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

Array
64B
Buffer
96B
List
64B
List
96B
Dict
32B
List
96B

Generation 1

Config
96B
String
32B
Array
32B
Config
32B

Generation 2

Buffer
64B
Array
32B
Array
32B

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.