Continuously changing the Chrome browser window size can cause memory leakage

Source: Internet
Author: User

Recently, in a responsive layout page, in the development and testing process, in order to see the performance of the page in windows of different sizes, we need to drag the browser to change the window size; I started to view the page in the Chrome browser and dragged it several times. I felt that the computer was obviously stuck, but I didn't care about it. Then I opened the Task Manager and checked it, when the browser window size is constantly changed, the memory usage will suddenly increase and the browser window will not be closed, and the occupied memory will not be released. Later I tested it in several other browsers and found that operabrowser also had this phenomenon. In order to compare it, I changed the memory of the Task Manager and marked it, for example:

 

According to the changes in the image, we can see that when Safari and Firefox change the window size, there is no memory leakage, chrome and Opera will only release the memory occupied by this part after closing the browser window.

According to my estimation, the size of the browser may change, resulting in page re-arrangement. During this process, memory leakage occurs in the browser rendering kernel. Of course, this is just my guess based on the above situation and there is no evidence, so I will share this situation to see if anyone has ever encountered it and whether there is any informed reason.

 

 

Test the browser version:

Chrome: 38.0.2125.111 m

Opera: 25.0.1614.68

Safari: 5.1.7 (7534.57.2)

Firefox: 1, 30.0

 

  

Continuously changing the Chrome browser window size can cause memory leakage

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.