That is a GC report.  Are you sure you haven't released it?

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of bjorn -
Sent: Tuesday, April 17, 2007 1:50 AM
To: [email protected]
Subject: [flexcoders] Unload SWF - flex garbage collection (bug?)



Hi guys, 
 
I'm using flash.display.Loader to Load swf through a gateway. It usually works 
great, and my trace output is like this:
 
[SWF] /webroot/binaryStreamer.php - 118,894 bytes after decompression
[SWF] /webroot/binaryStreamer.php - 3,040 bytes after decompression
[SWF] /webroot/binaryStreamer.php - 32,135 bytes after decompression
[SWF] /webroot/binaryStreamer.php - 5,124 bytes after decompression
[SWF] /webroot/binaryStreamer.php - 32,135 bytes after decompression
[SWF] /webroot/binaryStreamer.php - 32,135 bytes after decompression
[SWF] /webroot/binaryStreamer.php - 39,914 bytes after decompression 
[SWF] /webroot/binaryStreamer.php - 2,490 bytes after decompression
[SWF] /webroot/binaryStreamer.php - 40,045 bytes after decompression
[SWF] /webroot/binaryStreamer.php - 1,133 bytes after decompression
 
.. however, once every now and then (seems like it's completely at random) I 
get this in my log:
 
[SWF] /webroot/binaryStreamer.php - 118,894 bytes after decompression
[SWF] /webroot/binaryStreamer.php - 5,124 bytes after decompression
[SWF] /webroot/binaryStreamer.php - 3,040 bytes after decompression
[SWF] /webroot/binaryStreamer.php - 32,135 bytes after decompression
[SWF] /webroot/binaryStreamer.php - 32,135 bytes after decompression
[SWF] /webroot/binaryStreamer.php - 32,135 bytes after decompression
[SWF] /webroot/binaryStreamer.php - 39,914 bytes after decompression 
[Unload SWF] /webroot/binaryStreamer.php
[SWF] /webroot/binaryStreamer.php - 40,045 bytes after decompression
[SWF] /webroot/binaryStreamer.php - 2,490 bytes after decompression
[SWF] /webroot/binaryStreamer.php - 1,133 bytes after decompression 
 
 
.. see the "Unload SWF" in the middle there. I'm thinking maybe it's the 
garbage collector that does it, but I add all the assets loaded to an array so 
that seems strange since then I've got a reference to it -- so it shouldn't be 
collected. 
 
Any clues?
 
Best regards,
Bjørn

-- 

========================
http://www.juicability.com <http://www.juicability.com>  - flex blog
http://www.43min.com <http://www.43min.com>  - funny movies 

 

Reply via email to