Ticket #3163 (closed enhancement)
|Reported by:||henric||Owned by:|
sIEve reports DOM leaks for AJAX stuff. In the particular case I was debugging, with a .load() every few seconds replacing the contents of a <div>, unless things are attached to the root document in some way when "freed", they will apparently not be reclaimed until the page is reloaded. IE's memory usage, as seen in Task Manager, reports the same thing (after a few hours, IE will crash).
I've seen "discardElement" and similar code in a number of place; I don't recall where I originally got it. I also suspect that the jQuery folks have seen similar code but have chosen not to use it.
I've attached a patch from 1.2.6 to what I'm running. It does seem to solve my problem; I make no further claims...
- need changed from Review to Test Case
- Priority changed from major to trivial
- Type changed from bug to enhancement
- Component changed from core to ajax
- Milestone set to 1.3