Garbage Collection in Flash AS3 - another caveat

Here's another caveat for those trying to make sure their DisplayObjects are properly deleted: When testing a movie in the Flash IDE, memory isn't freed as it should be. Testing it in the browser however, exhibits the proper behavior. So, for those of you looking at your system memory usage continue to rise, be sure to test it in the browser as well. This is another reason why destructors would be nice - it would give you the ability to confirm that something is truly deleted.


0 Comments:
Post a Comment
<< Home