We help IT Professionals succeed at work.

Avoid memory leakage

Medium Priority
Last Modified: 2012-08-14

I would like to know the measures to be taken to avoid memory leakage use as far as  less memory for our application.
I am developing air application so memory management is very important factor..
As per my knowledge to avoid memory leakage ...
1. Remove event listeners when not needed
2. Nullify the objects i.e variables etc in order to clean objects...
3. Avoid using array collection...

Is there any other factors to be taken care of...
Let me know so that the air application does not crash...

Also i have plans to store data(might be huge amt of data which grows periodically and accessible only through my application) in user PC..so any special measures to be taken

Watch Question

Unlock this solution and get a sample of our free trial.
(No credit card required)
Top Expert 2011

In Flash Player 10 I don't see problem with memory leakage.
But always good practice to remove event listener(s) if not need it.
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.


Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.