Skip to main content

Bug Tracker

Side navigation

#4840 closed bug (fixed)

Opened July 01, 2009 10:40PM UTC

Closed February 05, 2010 08:13PM UTC

Last modified February 05, 2010 08:13PM UTC

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)
  • ipsum2.htm (78.9 KB) - added by cirvine July 01, 2009 10:42PM UTC.

    The 79 KB ipsum page that test.html calls.

  • memoryleak.JPG (150.2 KB) - added by cirvine July 01, 2009 10:45PM UTC.

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

  • test.html (1.3 KB) - added by cirvine July 01, 2009 10:41PM UTC.

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

Change History (2)

Changed February 05, 2010 08:13PM UTC by john comment:1

resolution: → fixed
status: newclosed

This should be resolved in jQuery 1.4.x

Changed February 05, 2010 08:13PM UTC by john comment:2

component: docscore