The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.
In visual studio 2017 there is a memory profiler.
You can take memory snapshot at interval of your choice while running a debugging session and compare snapshot for the number of object or bytes taken.
Thing is: when you stop debugging because, say, you want to edit a file, it close all the snapshots!
Now, I found a workaround, if you run snapshot comparison (while debugger is running, obviously) the window stay open.
But, wait for it, if your snapshot comparison has been detached (in my case floating on the other screen), when you stop debugging it is closed! Losing all data collected again!
Look like Microsoft doesn't want us accidentally using the information we just collected. This feature should remain a teaser...
If you feel like digging in the VS Options, since there is a setting for pretty much everything, the probability is high to have one for keeping the windows open after the end of the debugging session.
(and if not, you still have the option : you-are-a-programmer-why-don't-you-write-a-plugin).
No, it's not! Garbage collection is when some men come with a truck, noisily beat up the trash cans in your alley, dump some homeless sleeping in the dumpster into their truck, then set the dumpster on fire and after that they move on to the next alley.
I have lived with several Zen masters - all of them were cats.
His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.
Ha! who are they kidding? there's at least three atoms in there!
"the debugger doesn't tell me anything because this code compiles just fine" - random QA comment
"Facebook is where you tell lies to your friends. Twitter is where you tell the truth to strangers." - chriselst
"I don't drink any more... then again, I don't drink any less." - Mike Mullikins uncle