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.
mihies
0

Comments

4 comments

  • Brian Donahue
    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.
    Brian Donahue
    0
  • mihies
    Hi Brian,

    Is this implicit GC same as the one that Force GC does?
    mihies
    0
  • Brian Donahue
    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
    0
  • mihies
    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.
    mihies
    0

Add comment

Please sign in to leave a comment.