Ascon.NetMemoryProfiler 1.0.2

There is a newer version of this package available.
See the version list below for details.
dotnet add package Ascon.NetMemoryProfiler --version 1.0.2
NuGet\Install-Package Ascon.NetMemoryProfiler -Version 1.0.2
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Ascon.NetMemoryProfiler" Version="1.0.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Ascon.NetMemoryProfiler --version 1.0.2
#r "nuget: Ascon.NetMemoryProfiler, 1.0.2"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Ascon.NetMemoryProfiler as a Cake Addin
#addin nuget:?package=Ascon.NetMemoryProfiler&version=1.0.2

// Install Ascon.NetMemoryProfiler as a Cake Tool
#tool nuget:?package=Ascon.NetMemoryProfiler&version=1.0.2

Ascon.NetMemoryProfiler is a set of APIs for memory analysis of .NET processes. It allows you to attach to live processes or open crash dumps to inspect which .NET objects are hold in memory, and what prevents these objects from being collected by GC. Below you'll find a minimalistic sample of using Ascon.NetMemoryProfiler:

// Attaching profiler to the process "MyApp"
// After being attached, profiler injects into process and forces garbage collection in it
using (var session = Profiler.AttachToProcess("MyApp"))
{
	// Finds alive instances of "MyApp.Foo"
	var objects = session.GetAliveObjects(x => x.Type == "MyApp.Foo");
	// Finds retention paths (paths from GC roots which prevent instances from being collected)
	var retentions = session.FindRetentions(objects);
}
Product Compatible and additional computed target framework versions.
.NET Framework net45 is compatible.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.6 677 7/6/2022
1.0.5 396 6/17/2022
1.0.4 609 4/20/2020
1.0.3 1,034 6/27/2018
1.0.2 1,079 11/16/2017
1.0.1 1,003 11/14/2017

-fixed NUnit compatibility