Bug Tracker

Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#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:
Blocked by: Blocking:

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 (3)

test.html (1.3 KB) - added by cirvine 10 years ago.
Test file that loads the large ipsum page every 20 seconds.
ipsum2.htm (78.9 KB) - added by cirvine 10 years ago.
The 79 KB ipsum page that test.html calls.
memoryleak.JPG (150.2 KB) - added by cirvine 10 years ago.
Screen shot of sIEve. The drop is when i removed .empty() and reloaded.

Download all attachments as: .zip

Change History (5)

Changed 10 years ago by cirvine

Attachment: test.html added

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

Changed 10 years ago by cirvine

Attachment: ipsum2.htm added

The 79 KB ipsum page that test.html calls.

Changed 10 years ago by cirvine

Attachment: memoryleak.JPG added

Screen shot of sIEve. The drop is when i removed .empty() and reloaded.

comment:1 Changed 10 years ago by john

Resolution: fixed
Status: newclosed

This should be resolved in jQuery 1.4.x

comment:2 Changed 10 years ago by john

Component: docscore
Note: See TracTickets for help on using tickets.