jQuery, .empty() and memory
- by vandalo
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