Memory management
suggest changeRemarks
Performance-critical .NET applications can be affected by garbage collection. A blocking collection pauses managed threads. Since .NET Framework 4, workstation GC is background GC by default: most generation-2 work runs concurrently, and only short pauses suspend threads. Reduce allocations if those pauses matter; do not call GC.Collect to "control" them.
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents