Update aspnetcore/performance/memory.md
Co-authored-by: Rick Anderson <3605364+Rick-Anderson@users.noreply.github.com>pull/30202/head
parent
d8fb91fe78
commit
4b6ef1d391
|
@ -30,7 +30,7 @@ When an ASP.NET Core app starts, the GC:
|
|||
|
||||
The preceding memory allocations are done for performance reasons. The performance benefit comes from heap segments in contiguous memory.
|
||||
|
||||
### Note about calling GC.Collect
|
||||
### GC.Collect caveats
|
||||
|
||||
In general, ASP.NET Core apps in production should **not** use [GC.Collect](xref:System.GC.Collect%2A) explicitly. Inducing garbage collections at sub-optimal times can decrease performance significantly.
|
||||
|
||||
|
|
Loading…
Reference in New Issue