Skip to main content

Search and Top Navigation

#4644 closed bug (duplicate)

Opened June 29, 2009 07:55PM UTC

Closed July 28, 2009 06:42AM UTC

IE6 Memory Leak with just a datepicker

Reported by: mharen Owned by:
Priority: minor Milestone: 1.8
Component: ui.datepicker Version: 1.7.2
Keywords: memory leak Cc:
Blocked by: Blocking:
Description

I have a simple form which, when refreshed repeatedly, leaks lots of memory.

This occurs with a very recent jquery nightly and jquery-ui-1.7.2.

Please see my Stackoverflow question for more information, or load up the attached repro in IE6.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
  <link type="text/css" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/themes/smoothness/jquery-ui.css" rel="stylesheet" />
  <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
  <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/jquery-ui.min.js"></script>

  <script type="text/javascript">
      $(document).ready(function() { $('.DatePicker:enabled').datepicker(); });
  </script>
</head>
<body>
  <form id='Form1' action='LeakTest3.htm'>
    <input class='DatePicker' /> 
    <input type='button' value='Refresh' onclick='window.location.reload();' />
  </form>
</body>
</html>
Attachments (2)
  • LeakTest3.htm (0.8 KB) - added by mharen June 29, 2009 08:03PM UTC.
  • yikes.png (51.2 KB) - added by mharen June 29, 2009 07:56PM UTC.
Change History (3)

Changed July 09, 2009 01:56PM UTC by jzaefferer comment:1

milestone: TBD1.8

Most likely related to issues to be fixed in jQuery 1.3.3.

Changed July 10, 2009 08:20PM UTC by scottgonzalez comment:2

component: ui.coreui.datepicker

Changed July 28, 2009 06:42AM UTC by kbwood comment:3

resolution: → duplicate
status: newclosed

Duplicate of #4566.