diagnostics icon indicating copy to clipboard operation
diagnostics copied to clipboard

Diagnosing memory leaks with native leaks.

Open mikelle-rogers opened this issue 4 years ago • 6 comments

Walkthrough: see #515

mikelle-rogers avatar Mar 04 '22 21:03 mikelle-rogers

Not sure we need to document how to debug native leaks.

mikem8361 avatar Apr 06 '22 18:04 mikem8361

I'll take it and figure out what to do with it.

noahfalk avatar Apr 06 '22 21:04 noahfalk

I've been thinking on this one a bit and I think we should mark this enhancement and move it to the Future milestone. While I don't doubt some users of .NET would appreciate a guide on diagnosing native memory leaks, I am only aware of about ~4 cases over the past 4 years. There are also a variety of pre-existing web articles and the methods to diagnose these issues vary based on OS and C runtime implementation. In total I expect we'd have to spend a non-trivial effort to research and write something substantial enough that it would be an improvement over users just doing a web search with the particulars of their issue and environment. It doesn't feel like a good return on our time unless we got a lot more feedback that native leaks are an important pain point.

Thoughts?

noahfalk avatar May 03 '22 09:05 noahfalk

I've been thinking on this one a bit and I think we should mark this enhancement and move it to the Future milestone. While I don't doubt some users of .NET would appreciate a guide on diagnosing native memory leaks, I am only aware of about ~4 cases over the past 4 years. There are also a variety of pre-existing web articles and the methods to diagnose these issues vary based on OS and C runtime implementation. In total I expect we'd have to spend a non-trivial effort to research and write something substantial enough that it would be an improvement over users just doing a web search with the particulars of their issue and environment. It doesn't feel like a good return on our time unless we got a lot more feedback that native leaks are an important pain point.

Thoughts?

That sounds good to me.

mikelle-rogers avatar May 03 '22 20:05 mikelle-rogers

I'd like to see it.

jerviscui avatar May 13 '22 08:05 jerviscui

I'd like to see it.

botinko avatar Jun 15 '22 01:06 botinko