Skip to main content

Search and Top Navigation

#7808 closed bug (duplicate)

Opened October 24, 2011 03:04AM UTC

Closed January 31, 2012 08:33PM UTC

Last modified January 31, 2012 08:33PM UTC

Memory leak jQuery.ui.widget

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

Memory leak jQuery.ui.widget.

Memory (private bytes of IE process) increases when create and destroy of the simple widget are repeated.

jQuery core 1.6.4

jQuery.ui 1.8.16

browser IE8

OS Windows XP SP3

Memory Leak test code

http://jsfiddle.net/NzJGH/3/

Workaround code

http://jsfiddle.net/NzJGH/2/

Attachments (0)
Change History (7)

Changed October 24, 2011 11:52AM UTC by scottgonzalez comment:1

owner: → Yoshiharu Kamata
status: newpending

That code doesn't exist in master anymore, are you still seeing a memory leak when you test against master?

Changed October 24, 2011 11:56PM UTC by Yoshiharu Kamata comment:2

_comment0: The memory increases even if the mastering code is included. \ - https://raw.github.com/jquery/jquery-ui/master/ui/jquery.ui.core.js \ - https://raw.github.com/jquery/jquery-ui/master/ui/jquery.ui.widget.js \ \ Memory Leak test code (Master Code) \ http://jsfiddle.net/NzJGH/4/1319500939614997
_comment1: The memory increases even if the mastering code is included. \ - https://raw.github.com/jquery/jquery-ui/master/ui/jquery.ui.core.js \ - https://raw.github.com/jquery/jquery-ui/master/ui/jquery.ui.widget.js \ \ Memory Leak test code (Master Code) \ http://jsfiddle.net/NzJGH/5/1319538209811683
_comment2: The memory increases even if the mastering code is included. \ - https://raw.github.com/jquery/jquery-ui/master/ui/jquery.ui.core.js \ - https://raw.github.com/jquery/jquery-ui/master/ui/jquery.ui.widget.js \ \ Memory Leak test code (Master Code) \ http://jsfiddle.net/NzJGH/5/ \ \ Workaround code (Master Code) \ http://jsfiddle.net/NzJGH/7/1319585217990708
_comment3: The memory increases even if the master code is included. \ - https://raw.github.com/jquery/jquery-ui/master/ui/jquery.ui.core.js \ - https://raw.github.com/jquery/jquery-ui/master/ui/jquery.ui.widget.js \ \ Memory Leak test code (Master Code) \ http://jsfiddle.net/NzJGH/5/ \ \ Workaround code (Master Code) \ http://jsfiddle.net/NzJGH/7/1319785661996790
status: pendingnew

The memory increases even if the master code is included.

Memory Leak test code (Master Code)

http://jsfiddle.net/NzJGH/5/

Workaround code (Master Code)

http://jsfiddle.net/NzJGH/8/

Changed October 25, 2011 11:45PM UTC by Yoshiharu Kamata comment:3

Replying to [comment:1 scott.gonzalez]:

That code doesn't exist in master anymore, are you still seeing a memory leak when you test against master?

I tested the master, but memory increases.

Please confirm comment 2.

Changed October 28, 2011 02:05PM UTC by Yoshiharu Kamata comment:4

Replying to [ticket:7808 Yoshiharu Kamata]:

Memory leak jQuery.ui.widget. Memory (private bytes of IE process) increases when create and destroy of the simple widget are repeated. jQuery core 1.6.4 jQuery.ui 1.8.16 browser IE8 OS Windows XP SP3 Memory Leak test code http://jsfiddle.net/NzJGH/3/ Workaround code http://jsfiddle.net/NzJGH/2/

> update!

http://jsfiddle.net/yoshi6jp/aHHNw/1/

Changed November 02, 2011 06:50AM UTC by Yoshiharu Kamata comment:5

Changed January 31, 2012 08:33PM UTC by scottgonzalez comment:6

resolution: → duplicate
status: newclosed

Changed January 31, 2012 08:33PM UTC by scottgonzalez comment:7

Duplicate of #4188.