We help IT Professionals succeed at work.

Avoid memory leakage

SreeramojuPradeep
on
Medium Priority
306 Views
Last Modified: 2012-08-14
Hi,

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


Comment
Watch Question

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

Commented:
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.

OR

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.