Opened 10 years ago
Closed 5 years ago
#12215 closed defect (patchwelcome)
Memory "leak" using Chart2D actions with silverlight gfx renderer
Reported by: | davec | Owned by: | Eugene Lazutkin |
---|---|---|---|
Priority: | high | Milestone: | 1.13 |
Component: | DojoX GFX | Version: | 1.6.0b1 |
Keywords: | memory gfx | Cc: | |
Blocked By: | Blocking: |
Description
If a Chart2D is created and an action (eg Tooltip) attached, and the chart is then repeatedly updated, a memory "leak" can be observed when the browser is Internet Explorer and the gfx renderer is "silverlight". That is, the memory allocation used by Internet Explorer begins to grow steadily and appears never to be recovered/reclaimed.
I have observed the effect with the attached testcase (testcase_actionleak_silverlight.html) using Internet Explorer 8 (8.0.6001.18702) and monitoring the "private bytes" memory reported by SysInternals? Process Explorer for the iexplore.exe instance showing the page. If I remove the "gfxRenderer: 'silverlight'" from djConfig, the 'vml' renderer is used and I no longer observe the effect with Internet Explorer, nor do I see any similar effect with other browsers I have tried (including Firefox, Chrome).
The memory growth is marked: after an initial flat period of varying length, the memory tends to grow steadily at about 0.5 MB per call to chart render(). The attached testcase renders about twice per second, and after running this page in Internet Explorer for about half and hour the memory allocation for iexplore.exe exceeded 2GB.
Attachments (2)
Change History (4)
Changed 10 years ago by
Attachment: | testcase_actionleak_silverlight.html added |
---|
Changed 10 years ago by
Attachment: | screenshot_actionleak_silverlight.png added |
---|
screen shot showing memory growth reported by Process Explorer
comment:1 Changed 10 years ago by
Milestone: | tbd → future |
---|---|
Status: | new → assigned |
comment:2 Changed 5 years ago by
Milestone: | future → 1.12 |
---|---|
Resolution: | → patchwelcome |
Status: | assigned → closed |
Silverlight is mostly abandoned as a tech, so closing as patchwelcome.
test case (load in Internet Explorer with Silverlight enabled)