dotnet-gcforce 1.0.0

dotnet tool install --global dotnet-gcforce --version 1.0.0
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest # if you are setting up this repo
dotnet tool install --local dotnet-gcforce --version 1.0.0
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=dotnet-gcforce&version=1.0.0
nuke :add-package dotnet-gcforce --version 1.0.0

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.

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last updated
1.0.0 295 2/23/2022