Comments
4 comments
-
Hi Miha,
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. -
Hi Brian,
Is this implicit GC same as the one that Force GC does? -
Taking a snapshot does the same sort of garbage collection that the Force CG button does -- basically ANTS Profiler calls GC.Collect() before taking a snapshot.
-
Brian Donahue wrote:Taking a snapshot does the same sort of garbage collection that the Force CG button does -- basically ANTS Profiler calls GC.Collect() before taking a snapshot.
OK that makes sense and it is what I was asking for.
Add comment
Please sign in to leave a comment.
I know I can click one and then the other button but it would be better to have a single click option.