Snapshot collection in .NET app frees the memory, what is happening behind the scenes?

Viewed 32

I'm investigating a memory leak in a .NET Winforms application and when collecting a snapshot with my tool I noticed the memory got freed (1GB to 1mb).

Here come my doubts... Is it really a memory leak? What is the .NET profiler doing when collecting a snapshot that my application is not? Is it forcing the Garbage Collection? If so I tried doing the same with GC.Collect() but the memory still kept rising.

Looking forward to your considerations.

Thanks!

1 Answers
Related