IE \ Firefox garbage collection for localhost \ external site

I spent the last two days searching for a JavaScript memory leak in my web project and found out what confused me.

My site is built using ASP.NET MVC and uses JavaScript heavily with the jQuery library and the plugin link.

On my local machine, I refresh the page and see how memory is constantly increasing in IE8 \ Firefox 3.6. But when I publish my site on the Internet, the memory is cleared when I refresh the page.

This is really confusing, and I wonder if there is any difference in garbage collection IE / Firefox when accessing sites from different zones (Intranet, Internet) or the local host \ externla?

+3
source share
1 answer

jQuery definitely has some memory leaks ... If you use a ton of AJAX calls, here is one patch you can try to help yourself:

Simple jQuery Ajax causes memory leak in Internet Explorer

In addition, you need to specify a code showing what things your page does ...

0
source

Source: https://habr.com/ru/post/1773895/


All Articles