Yes, taking a snapshot forces a GC cycle. You can also run it yourself at
any time pressing the "Run Garbage Collector" button.

Keep in mind that your disposing method will not cause your objects to be
collected, but rather be collectable or eligible for GV. Until the GC kicks
in, those objects could be unreacheable (if you managed to clean up
properly) but still alive (and that's what the Live Objects view reflects).
Cheers
Juan Pablo Califano
2010/2/4 W.R. de Boer <[email protected]>

> Hello,
>
> I have been working with FB3 Profiler the whole week but I am having some
> strange issues with it. If I am making a simple SWF with a document class
> where I call a method after 10 seconds which should dispose all the creating
> movieclip at startup.
>
> I have the issue that the reference counter of the several objects keep
> staying on 1 (watching it in the Live Objects tab pane in Eclipse) but after
> I press the button for creating a memory snapshot the counters go down to 0.
> What does this mean? Does the memory snapshot does a forced run on the
> garbage collection or were my objects already 0 but the Live Objects list
> didn't get updated?
>
> Anyone having any clue? I am confused.
>
> Weyert de Boer
> _______________________________________________
> Flashcoders mailing list
> [email protected]
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to