SreeramojuPradeep
asked on
Avoid memory leakage
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
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
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
But always good practice to remove event listener(s) if not need it.