Skip to content

Commit 6a4b393

Browse files
Copilottdykstra
andcommitted
Address code review feedback for memory management article
Co-authored-by: tdykstra <[email protected]>
1 parent 03b401e commit 6a4b393

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

aspnetcore/fundamentals/servers/kestrel/memory-management.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ This article provides guidance for managing memory in Kestrel, including automat
2020

2121
The memory pools used by Kestrel, IIS, and HTTP.sys automatically evict memory blocks when the application is idle or under low load. The feature runs automatically and doesn't need to be enabled or configured manually.
2222

23-
In versions of .NET earlier than 10, memory allocated by the pool remains reserved, even when not in use. This automatic eviction feature reduces overall memory usage and helps applications stay responsive under varying workloads.
23+
This automatic eviction feature reduces overall memory usage and helps applications stay responsive under varying workloads. In versions of .NET earlier than 10, memory allocated by the pool remained reserved even when not in use.
2424

2525
### Use memory pool metrics
2626

@@ -30,7 +30,7 @@ For information about metrics and how to use them, see <xref:log-mon/metrics/met
3030

3131
## Manage memory pools
3232

33-
Besides using memory pools efficiently by evicting unneeded memory blocks, ASP.NET Core provides a built-in [IMemoryPoolFactory](https://source.dot.net/#Microsoft.AspNetCore.Connections.Abstractions/IMemoryPoolFactory.cs) and an implementation. It makes the implementation available to your application through dependency injection.
33+
Besides using memory pools efficiently by evicting unneeded memory blocks, ASP.NET Core provides a built-in [IMemoryPoolFactory](https://source.dot.net/#Microsoft.AspNetCore.Connections.Abstractions/IMemoryPoolFactory.cs) and an implementation. ASP.NET Core makes this implementation available to your application through dependency injection.
3434

3535
The following code example shows a simple background service that uses the built-in memory pool factory implementation to create memory pools. These pools benefit from the automatic eviction feature:
3636

0 commit comments

Comments
 (0)