Is there any way to detect memory leaks in Flash ActionScript-3 project? what are the easier ways to achieve this in existing project ?
Is there any way to detect memory leaks in Flash ActionScript-3 project? what are
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
First is to establish if you actually have a memory leak. For that, I would recommend using a performance stat tool that gives you real-time feedback on your memory usage.
One of the best ones that I’ve used is Mr. Doob’s Stats tool:
(source: mrdoob.com)
Just add it to the stage with
And you’ll be able to watch your memory usage in real-time. Perform different actions to see what is causing the memory leak (is it just when you click on these buttons, or every frame, etc etc).