Force Garbage Collection in AS3?

前端 未结 8 2063
轻奢々
轻奢々 2020-11-30 07:33

Is it possible to programmatically force a full garbage collection run in ActionScript 3.0?

Let\'s say I\'ve created a bunch of Display objects with eventListeners a

8条回答
  •  天涯浪人
    2020-11-30 08:16

    recycling doesn't really help. I used one loader that repeatedly loaded the same jpg every 500ms. task manager still reported a non stop increase in memory.

    tried and proven solution here.

    http://simplistika.com/as3-garbage-collection/

提交回复
热议问题