views:

569

answers:

1

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
Sorry for the dup, I did a search but did not find the original question
Todd Stout
No problem - I've added tags to the original.
Mark
Is there any value in keeping this question? I think I should delete it.
Todd Stout
Hmm actually, I still can't find the original question through SO
Mark
I suggest keeping the question until someone can add a reference to sos.
Mark