jQuery, .empty() and memory
Posted
by vandalo
on Stack Overflow
See other posts from Stack Overflow
or by vandalo
Published on 2010-05-27T12:19:35Z
Indexed on
2010/05/27
12:21 UTC
Read the original article
Hit count: 163
Hello,
my application (ASP.NET MVC) shows a page which loads data constantly, at certain intervals.
The jQuery script calls a controller and this one renders a different partial view, based on certain conditions.
This partial view is the appended to the DOM with jQuery; previous elements are removed with the empty() method.
I've realized that after one day the browser loads something like 600Mb of memory.
What am I doing wrong?
Thanks
Alberto
© Stack Overflow or respective owner