I'm debugging a memory leak with windbg/sos and I cannot find a way to have sos force a garbage collection. The list of sos commands does not seem to include gc.
+1
A:
Duplicate: http://stackoverflow.com/questions/334174/can-i-run-a-net-garbage-collection-from-windbg
There's also http://stackoverflow.com/questions/101196/triggering-a-net-garbage-collection-externally
Could someone edit that question to mention sos (e.g. "The list of sos commands does not seem to include gc.")
Mark
2009-04-24 13:50:19
Sorry for the dup, I did a search but did not find the original question
Todd Stout
2009-04-24 13:54:57
No problem - I've added tags to the original.
Mark
2009-04-24 14:01:25
Is there any value in keeping this question? I think I should delete it.
Todd Stout
2009-04-24 14:03:56
Hmm actually, I still can't find the original question through SO
Mark
2009-04-24 14:07:24
I suggest keeping the question until someone can add a reference to sos.
Mark
2009-04-24 14:14:46