Quais versões do Internet Explorer têm vazamentos de memória?

0

Eu li na página de Douglas Crockford, bem como na Internet, que há algumas versões do Internet Explorer que exibem vazamentos de memória devido a uma interação entre DOM e JavaScript. Quais versões são essas?

    
por jcubic 26.06.2013 / 15:38

1 resposta

2

De acordo com esta postagem do blog por um funcionário da MS:

As described in detail in this MSDN article the JScript garbage collector in previous versions of Internet Explorer manages the lifetime of JScript objects but not of DOM objects. As a result, the JScript garbage collector cannot break circular references between DOM objects and JScript objects, and memory leaks may occur.

  • In IE6, these circular references are broken when the Internet Explorer process terminates (and leaks are very frequent).
  • In IE7, these circular references are broken when users navigate away from the page.
  • In IE8 the problem is completely mitigated.

Programmers who need to support older versions of the Internet Explorer browser should still try to pay attention to programming patterns such as JScript closures, as they could cause memory leaks.

    
por 28.06.2013 / 05:06