Skip to main content

Search and Top Navigation

#7802 closed bug (duplicate)

Opened October 18, 2011 02:06PM UTC

Closed October 18, 2011 02:37PM UTC

Last modified October 18, 2011 02:37PM UTC

IE7 memory growth

Reported by: bayera Owned by: bayera
Priority: minor Milestone: 1.9.0
Component: ui.widget Version: 1.8.16
Keywords: Cc:
Blocked by: Blocking:
Description

Linking jquery UI without using any widget creates memory leaks.

Test 2 HTML pages linking each other:

test1.html:

<!DOCTYPE html>

<html><head>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />

<title>Test</title>

<link type="text/css" href="css/pepper-grinder/jquery-ui-1.8.16.custom.css" rel="stylesheet" />

<script type="text/javascript" src="js/jquery-1.6.2.min.js"></script>

<script type="text/javascript" src="js/jquery-ui-1.8.16.custom.min.js"></script> </head>

<body>

<a href="test2.html">next</a>

</body>

</html>

test2.html is the same with a link to test1.html

Clicking the links will result in a growing memory in IE7. Only if I really create a widget in the page like a date picker the memory is stable.

Attachments (0)
Change History (6)

Changed October 18, 2011 02:08PM UTC by scottgonzalez comment:1

owner: → bayera
status: newpending

Does this happen if your download doesn't include the datepicker?

Changed October 18, 2011 02:13PM UTC by bayera comment:2

status: pendingnew

Replying to [comment:1 scott.gonzalez]:

Does this happen if your download doesn't include the datepicker?

This happens because I use a template for the html page and generate the content. The template always links the complete jQuery UI library (jquery-ui-1.8.16.custom.min.js) and only somethimes a page shows a datepicker.

Changed October 18, 2011 02:16PM UTC by scottgonzalez comment:3

_comment0: I want to know you download a version of jQuery UI that does not include the code for datepicker if you still have a memory leak. Datepicker is known to leak memory; see #4566.1318947432411133
status: newpending

I want to know if you download a version of jQuery UI that does not include the code for datepicker if you still have a memory leak. Datepicker is known to leak memory; see #4566.

Changed October 18, 2011 02:31PM UTC by bayera comment:4

status: pendingnew

Replying to [comment:3 scott.gonzalez]:

I want to know if you download a version of jQuery UI that does not include the code for datepicker if you still have a memory leak. Datepicker is known to leak memory; see #4566.

No, it grows only with the datepicker.

Changed October 18, 2011 02:37PM UTC by scottgonzalez comment:5

resolution: → duplicate
status: newclosed

Changed October 18, 2011 02:37PM UTC by scottgonzalez comment:6

Duplicate of #4566.