VS 2019 Diagnostic tool - Documentation ?

Keith Crotty 81 Reputation points
2020-01-01T23:56:40.96+00:00

C# UWP VS 2019

I have a memory leak somewhere. I have a Reset sub that resets, clears, and resizes to 0 everything, which does not seem to be doing a complete job. I am also enumerating through the Main Xaml canvas control to remove but children added in code. I load a screen, click a re-load button. Every time, another mb of memory gets eaten up. Eventually, the processing starts pausing.

Anyway, I took a look at the Diagnostic tools, created some snapshots, etc. That is where I see the memory slowly erode. But, I am dead in my tracks after that. The List of data in the snapshot means nothing to me and clicking on them seems to open show some memory addresses, which is not helping much.

I am looking for a link to documentation, video whatever. YouTube and internet search has only turned up old and only slightly helpful information.

Sorry, but this tag is the only one I can find to take. HOw about a drop down list

Universal Windows Platform (UWP)
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Keith Crotty 81 Reputation points
    2020-01-03T00:53:51.057+00:00

    Thx Richard

    You gave me a link, which was what I asked for. I was looking to mark it as answer, but doesn't look like this forum does that feature.

    If I cant find it, ...I'll Be Back.

    I may have to upload the project to GitHub. There is nothing in it someone would want to steal.


  2. Richard Zhang-MSFT 6,936 Reputation points
    2020-01-03T02:12:04.997+00:00

    Hello,​

    Welcome to our Microsoft Q&A platform!

    If you are looking for a tutorial on memory diagnostics in VS2019, this document may help you. If this document does not solve your problem, you can try to make a feature request in Visual Studio Questions and describe your needs.

    Thanks.

    0 comments No comments