From: Mario Hewardt Date: Thu, 9 May 2019 15:54:43 +0000 (-0700) Subject: Update intermittent_memory_spike.md X-Git-Tag: submit/tizen/20190813.035844~6^2^2~33^2~11 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2a2abe615ac983f39ee5e4a1178c10fc62e9930c;p=platform%2Fcore%2Fdotnet%2Fdiagnostics.git Update intermittent_memory_spike.md --- diff --git a/documentation/tutorial/intermittent_memory_spike.md b/documentation/tutorial/intermittent_memory_spike.md index bb31a66bb..b3b1692c6 100644 --- a/documentation/tutorial/intermittent_memory_spike.md +++ b/documentation/tutorial/intermittent_memory_spike.md @@ -53,8 +53,8 @@ Events that are written to the EventPipe can come from multiple sources (or prov #### Writing the tool... We have two requirements in order to implemented a tool that will create a dump file based on memory consumption: -Being able to read dotnet memory counter to know when it breaches the specified threshold -Generate the actual core dump ++Being able to read dotnet memory counter to know when it breaches the specified threshold ++Generate the actual core dump Let's start with the first requirement, reading dotnet counters. As explained earlier, we can use the EventPipe mechanism to read counters from the runtime. In this case, the provider that writes counter events is System.Runtime. Below is the code that sets up the System.Runtime provider for use in our tool: