Estimate RAM usage of any managed object.
Install-Package Diagnostics.Sizeof -Version 1.0.1
dotnet add package Diagnostics.Sizeof --version 1.0.1
<PackageReference Include="Diagnostics.Sizeof" Version="1.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Diagnostics.Sizeof --version 1.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Code refactoring. Fixed bug with string not accounting for reference size. Fixed bug with x64 machines getting wrong pointer size.
- No dependencies.