Always force GC before taking snapshot
mihies
Posts: 71 Bronze 4
It would be nice to have a button (or an option) to force GC everytime a snapshot is taken.
I know I can click one and then the other button but it would be better to have a single click option.
I know I can click one and then the other button but it would be better to have a single click option.
Miha Markic [MVP C#, INETA Country Leader for Slovenia]
Blog:http://blog.rthand.com
Righthand .net consulting and software development
http://www.rthand.com
Blog:http://blog.rthand.com
Righthand .net consulting and software development
http://www.rthand.com
Comments
Taking a snapshot does force a garbage collection when you are memory profiling with ANTS Profiler. The only objects that should survive a snapshot, in addition to the objects that are still referenced, are objects that are pending finalization.
Is this implicit GC same as the one that Force GC does?
Blog:http://blog.rthand.com
Righthand .net consulting and software development
http://www.rthand.com
OK that makes sense and it is what I was asking for.
Blog:http://blog.rthand.com
Righthand .net consulting and software development
http://www.rthand.com