The documentation is correct. GC is conservative - so there are chances that some objects may not get cleaned up. -----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Andrej van der Zee Sent: Friday, March 28, 2008 2:17 AM To: [email protected] Subject: RE: [flexcoders] Memory Profiler - Memory Snapshot does automatically runs garbage collector?
In the documentation that ships with Adobe it sais that it runs the GC before taking a snapshot. But it also mentions that it is not guaranteed that all unreferenced objects are freed when the GC is run (manually or before a snapshot). A bit misleading functionality I would say! --- "Gaurav. Jain" <[EMAIL PROTECTED]> wrote: > I meant *before* capture the data. > > -----Original Message----- > From: [email protected] > [mailto:[EMAIL PROTECTED] On > Behalf Of Gaurav. Jain > Sent: Thursday, March 27, 2008 2:43 PM > To: [email protected] > Subject: RE: [flexcoders] Memory Profiler - Memory > Snapshot does > automatically runs garbage collector? > > Yes the memory snapshot runs the GC capturing the > data. > > -----Original Message----- > From: [email protected] > [mailto:[EMAIL PROTECTED] On > Behalf Of alex > Sent: Thursday, March 27, 2008 2:26 PM > To: [email protected] > Subject: [flexcoders] Memory Profiler - Memory > Snapshot does > automatically runs garbage collector? > > Because it looks like it does that. > I have some increase in memory, then the moment I > take memory snapshot > it goes down a bit which is the same effect with > just running garbage > collector manually. > Otherwise the the memory won't change and the > garbage collector won't > kick in by itself. > > > ------------------------------------ > > -- > Flexcoders Mailing List > FAQ: > http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt > Search Archives: > http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! > Groups > Links > > > > > ------------------------------------ > > -- > Flexcoders Mailing List > FAQ: > http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt > Search Archives: > http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! > Groups > Links > > > > __________________________________________________________ Sent from Yahoo! Mail. More Ways to Keep in Touch. http://uk.docs.yahoo.com/nowyoucan.html ------------------------------------ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links

