14

Large Object Heap Churn in .NET

 2 years ago
source link: https://www.youtube.com/watch?v=-qtT1wWJi3A
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client
>> What's up friends. Join us for
0:00 / 29:15
#DotNet #Diagnostics #Azure

Large Object Heap Churn in .NET

3,982 views
Nov 12, 2021

140K subscribers

Mike Rousos is back again! This time Mike shows us how to inspect and diagnose large Object Heap churn in .NET

[00:00] - Introduction [01:36] - What tools can we use to look into performance? [03:35] - Diagnostics Demo in Azure App Service [08:50] - Collecting diagnostic traces using dotnet trace [12:56] - Reviewing stats in Perfview [19:56] - Inspecting GC Heap allocations [22:16] - Reducing allocations ArrayPool

dotnet-trace performance analysis utility https://docs.microsoft.com/dotnet/cor...

What is Application Insights? https://docs.microsoft.com/azure/azur...

Analyze CPU usage without debugging in the Performance Profiler https://docs.microsoft.com/visualstud...

Kudu service overview https://docs.microsoft.com/azure/app-... 🙋‍♀️🙋‍♂️ Get your questions answered on the Microsoft Q&A for .NET: https://aka.ms/dotnet-qa

🏫 Learn C#, F#, and .NET with free self-guided learning from Microsoft Learn: https://aka.ms/learndotnet

#DotNet #Diagnostics #Azure

Show lessShow more

3 Comments

Sort by
default-user=s48-c-k-c0x00ffffff-no-rj
Add a public comment...
What about tips'n'tricks for cases when one's code uses Memory<T> ? I played with it recently and the worst part is - such memory allocations "desappear" from observable stats in VS (2019). You see OS reports 4 Gigs is consumed by you app, but VS profile shows bogus few KBs on heap.

5 days ago

Do the returned buffers get cleaned/scrubbed?

9 days ago


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK