Scale of Memory leakage with no memory header in Flash Player

Source: Internet
Author: User

Recently, I used flash to create a 3D Modeling object with a 360 rotation display. Due to time constraints, I used the traditional image sequence replacement method.ProgramAlgorithmVery simple, memory usage is terrible (because of the smoothness of the operation, the entire image sequence needs to be loaded into the memory first, as you can imagine ...)
Due to excessive attention to memory usage, I found an interesting phenomenon (the focus of this article ): when the image sequence is scaled to half (scalex <= 0.5 & scaley <= 0.5), and then the image is replaced, the memory is inexplicably increased, if scale remains above 60%, there will be no such "flexibility" problem.
I also made a special round on the Internet. I was very satisfied with the results of other cases about this type of FLASH application. Most of them did not notice this problem, indicating that my insights are extraordinary.

In other words, this is not a matter of technical content, because the program we write is not a problem. The problem lies in Flash Player, and we hope that people in the same channel will be aware of this problem.

I tested two versions of Flash Player, 9.0.151.0 and 10.0.12.36. They are the same as what they do .....

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.