Subscribe via feed.

Garbage Collector troubles using the Loader class

Posted by admin on June 18, 2007 – 12:29 am

Just great another weird Garbage Collector issue in AS3:

When I load an image using the Loader class and unload it later on. It won’t be disposed by the garbage collector.
There are no references to neither the Loader nor the (weak) eventlisteners. After loading the image a couple of times the memory goes sky high :| .

Here is a (simple) example: LoaderTest.zip

Does anyone have an explaination on why the GC doesn’t clean the loaded content? I would be very grateful!


This post is under “ActionScript” and has 2 respond so far.
If you enjoy this article, make sure you subscribe to my RSS Feed.

2 Responds so far- Add one»

  1. 1. uggstovler Said:

    I was bought this like a present through friends that frequented us for the summer as well as knew just how much we like the fruit juice. The aged juicer really was upon it’s last legs, very clunky and to be honest it was a pain to clean up following it. This intended we did not utilize it anywhere near as almost as much ast we may have loved to do. This one is a real

  2. 2. Shayne Mishra Said:

    When I initially commented I clicked the “Notify me when new comments are added” checkbox and now each time a comment is added I get four e-mails with the same comment. Is there any way you can remove me from that service? Cheers!