Jump to content
GreenSock

Applauz

blitMask Real Memory Usage ( XCode Instrument Panel )

Recommended Posts

So I'm at a point in my app now where I am testing memory, etc

 

I am noticing something interesting.

 

Any movieclip I remove from the stage and null that contains a blitMask in it.. once removed is taking exactly 13 seconds to actually clear from memory.

 

Any movie clip without the blitMasking technique is clearing from memory in 1 to 2 seconds.

 

Any idea why these are taking so much longer to clear ?

 

Even if I try to force clear with System.gc(); I see the same issue.

Link to comment
Share on other sites

Did you call the dispose() method of the BlitMask? That may help. Other than than, no, there is nothing in BlitMask that would delay gc any more than a regular BitmapData would that you created yourself.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×