Opened 16 years ago

Closed 15 years ago

#1145 closed defect (duplicate)

Widget leaks

Reported by: [email protected] Owned by: bill
Priority: high Milestone: 1.0
Component: Dijit Version: 0.3
Keywords: widgets memory+leak Cc: [email protected]
Blocked By: Blocking:


Hey. I seem to still encounter memory leaks with dojo in IE:

  • General minor leaks - It seems that in general dojo leaks a little bit. When I load a simple test (test_SlideShow.html for example) in Drip ( and let it refresh auto-refresh for a while I notice memory consumption going up. It's not major in general, but it could lead to major problems in some instances... This could also be the browser not completely cleaning up right away. IE is known to delay garbage collection.
  • Some widgets leak mercilessly - I found several widgets that do it: TabContainer? (test_TabContainer.html), ToolBar? (test_Toolbar.html). Interestingly, toolbar doesn't leak when created using markup (test_Toolbar_Markup.html), only when created using (test_Toolbar.html). I don't know if any other widgets have leak problems and I will report any I might find.

Change History (10)

comment:1 Changed 16 years ago by bill

Cc: [email protected] added

Do you mean that every time you refresh the test_TabContainer.html page, IE's memory usage goes up? Or something about dynamically creating TabContainers? without refreshing the page?

comment:2 Changed 16 years ago by ornus

Every time I refresh test_TabContainer.html memory usage goes up.

comment:3 Changed 16 years ago by bill

OK, I'll take a look. You didn't say which browser, so I will assume IE6. But if I need to check another browser instead (for example, if it's a FF only problem) then let me know.

comment:4 Changed 16 years ago by ornus

Yeah, it's IE6. I specified it in the ticket description. Drip (old version, new doesn't seem to work with Dojo well) also reports that some elements (divs and spans) don't get released by the browser.

comment:5 Changed 16 years ago by francis

I had this problem with 0.3.1. I retested with the current SVN trunk and the TabContainer? is not leaking anymore.

BTW, ticket #1122 already defines this problem with the TabContainer?.

comment:6 Changed 16 years ago by ornus

As far as I can tell the leak is still there. I think it's smaller now, but still detectable.

comment:7 Changed 16 years ago by bill


comment:8 Changed 16 years ago by bill


comment:9 Changed 15 years ago by bill

Component: WidgetsDijit
Milestone: 0.91.0

comment:10 Changed 15 years ago by dante

Resolution: duplicate
Status: newclosed

dup of #1122

Note: See TracTickets for help on using tickets.