Optimize GC for Gen:0
We introduce a memory performance optimization for generation 0: allocate, use, and discard objects as quickly as possible so they die in generation 0 rather than migrate to generation 1 or 2. The lesson covers reducing unnecessary object creation and scoping references tightly so objects are automatically de-referenced when no longer needed.
Previous Module
The .NET Garbage Collector
This Module
Memory Performance Optimizations