Bug Tracker

Modify

Ticket #4840 (closed bug: fixed)

Opened 4 years ago

Last modified 3 years ago

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

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

Change History

Changed 4 years ago by cirvine

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

Changed 4 years ago by cirvine

The 79 KB ipsum page that test.html calls.

Changed 4 years ago by cirvine

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

comment:1 Changed 3 years ago by john

  • Status changed from new to closed
  • Resolution set to fixed

This should be resolved in jQuery 1.4.x

comment:2 Changed 3 years ago by john

  • Component changed from docs to core

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.