Ticket #4840 (closed bug: fixed)
Memory leak when using .html with large files
| Reported by: | cirvine | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | 1.4 |
| Component: | core | Version: | 1.3.2 |
| Keywords: | memory leak .html | Cc: | |
| Blocking: | Blocked by: |
Description
When using Ajax to retrieve a large file (70k) and using .html to load the message into a div, the system memory continues to climb. Simply run the attached test.html which loads the ipsum2.html file every 20 seconds and watch the memory usage of IE grow. I am using IE6 but have tested this on IE7 and FF3 with the same results. I ahve also attached a screen shot of sIEve that shows the growth. The drop between is when I removed the .empty() call.
Attachments
Change History
Changed 4 years ago by cirvine
-
attachment
ipsum2.htm
added
The 79 KB ipsum page that test.html calls.
Changed 4 years ago by cirvine
-
attachment
memoryleak.JPG
added
Screen shot of sIEve. The drop is when i removed .empty() and reloaded.
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

Test file that loads the large ipsum page every 20 seconds.