Opened 10 years ago
Closed 10 years ago
#8762 closed bug (notabug)
UI Widget Factory leaks in ALL browsers
Reported by: | hkgbrucet | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 1.10.0 |
Component: | ui.widget | Version: | 1.9.1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Creating a widget inside an element and then removing the widget from the element causes a memory leak in all Windows browsers: IE8 leaks drastically although other browsers (IE9, FF, Chrome) also leak (to significantly lesser and varying degrees).
Forcing garbage collection in IE (for experimental purposes) has no effect.
This is easy to show by constructing a simple widget and then setting a repeating timer that clears the host element and then adds a new widget element. To hit 300MB memory usage, IE8 requires ~6000 cycles, Firefox 15 ~50,000 cycles
See http://jsfiddle.net/hEtcz/2
Memory can be monitored using Windows Task Manager.
This is relevant in a Web App that creates and destroys many widgets over long durations
Change History (2)
comment:1 Changed 10 years ago by
comment:2 Changed 10 years ago by
Resolution: | → notabug |
---|---|
Status: | new → closed |
This issue is withdrawn - the example js had a jquery error .... please ignore