question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Suggestion: use GLAD for memory diagnostics.

See original GitHub issue

As Maoni Stephens just announced, the GLAD is available as open source and it’s looks like it’s going to support .net core. Sadly there’s no nuget package, but I’ve created issue for it.

Long story short, the GLAD is a subset of perfiew tool API that uses ETW and provides info about GCs, allocations and much more. This should simplify the MemoryDiagnoser’s code and should enable more diagnosers in future (in fact, anything that can be analysed by perfView, disk IO and JIT events as example).

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:1
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
mattwarrencommented, Sep 21, 2016

My understanding is that other than a slightly higher level C# object model, the main thing that the GLAD API gives you is more info about GC pauses. If you just use the Trace Event parser you have to do the calculations yourself, as I did in my post Visualising the .NET Garbage Collector

So I agree with @goldshtn, I’m not sure what this buys us over what we already have, but I probably need to look at GLAD a bit more to see where it differs from TraceEvents CLR parser?

0reactions
goldshtncommented, Sep 21, 2016

AFAIK most of this stuff is natively available in TraceEvent’s CLR parser.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Windows memory diagnostic tool not Working in Windows 10
When I attempt to run Windows Memory Diagnostic, by either selecting "restart now and check for problems" or "check for problems next time...
Read more >
FREE Quick Way To TEST For Faulty RAM Modules NO ...
Find out how to use it, it could find the answer to your PC ... dual action stylus pen or need some specific...
Read more >
[Solved] Windows Memory Diagnostic Tool hangs at 21% 88 ...
It's not unexpected for the whole test to take, say, eight hours. For three or four it might be stuck at 21%. Unless...
Read more >
[Request] nuget package for TraceEvent lib? · Issue #121
Suggestion : use GLAD for memory diagnostics. ... We're looking at using TraceEvent in some performance tracing and right now we're limited ...
Read more >
Test System Memory for Errors in Windows 10, 8 or 7
In this guide we will learn to use the Windows memory diagnostic tool to check if there are any problems with a memory...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found