Thursday, May 19, 2011

IE: only browser not affected by severe failure in the treatment of memory


Internet Explorer is not exactly known for being the safest browser in the world. Being fairly adopted, it is a target for hackers and malicious people all the time, trying to find loopholes to exploit in the browser. But according to a bug report published earlier this month, Internet Explorer is the only current browser that is not susceptible to a serious failure of memory.


Who can guarantee this is a developer who reported the flaw in Chromium 81517 Tracker. He claims to have tested to failure in Chrome 11, 5 Safari, Firefox 4.x versions 7, 8 and 9 Internet Explorer and it was only in the three versions of Microsoft's browser the problem is not manifested.

The flaw lies in the way browsers load images with the attribute Cache-Control: no-store. As I understand it, this attribute tells the browser that the image can not be saved in the cache and that whenever a page containing an image is uploaded, it should be called again on the server where is hosted.

The problem is that Chrome, Safari and Firefox will save that image into memory but forgets to remove it from there at some point. With that, the browsers just accumulating space in RAM and reduces the performance of the entire computer. A Linux user came to have 4 GB of memory used with Chrome.

To test the theory, the developer has created this test page, but it has exceeded its bandwidth limit Spot App. Fortunately, there's this other test page that performs (in theory) the same procedure, but is associated with another record of similar problem and involving JavaScript. Test at your own risk.

Griffin to a point ... I mean, Microsoft!