Skip to content

Simple tool based on dotnet-gcdump to force garbage collection on a .NET process

License

Notifications You must be signed in to change notification settings

nathan-c/dotnet-gcforce

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dotnet-gcforce

dotnet-gcforce is a tool that borrows heavily from dotnet-gcdump to force garbage collection on a .NET process running locally. It has the same caveats as running dotnet-gcdump but can be useful for investigating heap growth issues.

Installation

dotnet tool install --global dotnet-gcforce

Execution

dotnet-gcforce <pid>

Development Notes

The LongRunningProcess tool can be used to test dotnet-gcforce against. It will print its own PID and then sit there logging when the number of Gen2 GC's changes.

About

Simple tool based on dotnet-gcdump to force garbage collection on a .NET process

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages