Skip to content

How to get process 'Max' memory usage for each method process by BenchmarkDotNet #1740

Description

@shps951023

Hi, @adamsitnik

Like visual studio debug diagnostic tools, it can know max memory usage by chart

I've tried dotnet/BenchmarkDotNet MemoryDiagnoser to get Allocated, but it's all memory usage not max memory usage.

    [MemoryDiagnoser]
    public class BenchmarkBase
    {
    
    }

Why I'd like to do it?
Because I want to make sure that the maximum memory usage does not cause OOM

Thanks!!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions