Dotnet monitor memory usage collection rule #4271
-
Hello, There is collection rule for high cpu usage as below: Collect Trace - High CPU Usage (EventCounter Trigger)
My question is, is there a collection rule for High Memory usage? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
If I recall correctly, there is no counter for the entire memory usage of the application but there is one for the GC heap size (the total heap memory allocated for managed objects). We have an example of using this counter here: https://github.com/dotnet/dotnet-monitor/blob/main/documentation/collectionrules/collectionruleexamples.md#collect-gcdump---heap-size-eventcounter-trigger |
Beta Was this translation helpful? Give feedback.
If I recall correctly, there is no counter for the entire memory usage of the application but there is one for the GC heap size (the total heap memory allocated for managed objects). We have an example of using this counter here: https://github.com/dotnet/dotnet-monitor/blob/main/documentation/collectionrules/collectionruleexamples.md#collect-gcdump---heap-size-eventcounter-trigger