Demo: Object Pooling (part 2)
The lesson analyzes the benchmark results comparing pooled versus unpooled allocations, discussing the dramatic reduction from roughly one gigabyte to ten megabytes of heap usage and the implications of heap fragmentation when large objects are repeatedly allocated and released.
Previous Module
The .NET Garbage Collector
This Module
Memory Performance Optimizations