A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: When the garbage collector run??

  1. #1
    Registered User
    Join Date
    May 2010

    Question When the garbage collector run??

    Hai all,

    I have ship game that i create using falsh as3. but i have the problem with memory usage. the memory usage still increase when game played. whereas the System.gc was called, but the memory still increase. can you help me to solve this problem??

  2. #2
    Will moderate for beer
    Join Date
    Apr 2007
    Austin, TX
    System.gc is only enabled in the debug player. In the standard player, it has no effect. Garbage collection should run automatically, when necessary. If you observe memory usage increasing over a long period of time, then you have a memory leak somewhere.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Click Here to Expand Forum to Full Width

HTML5 Development Center