Opened 8 years ago

Last modified 7 years ago

#16684 closed defect

possible gfx MLKs when many shapes are created — at Version 2

Reported by: Patrick Ruzand Owned by: Patrick Ruzand
Priority: high Milestone: 1.7.5
Component: DojoX GFX Version: 1.8.3
Keywords: Cc: ben hockey, cjolif, Eugene Lazutkin
Blocked By: Blocking:

Description (last modified by Patrick Ruzand)

When a huge number of shapes are created (for ex, a monitoring application that creates/destroy many shapes at regular intervals), the IE allocated memory keeps increasing.

The attached sample reproduces the issue. Run it for a long time (1-2h) and monitor the browser memory using a task mgr.

This is NOT reproducible on FF.

Change History (3)

Changed 8 years ago by Patrick Ruzand

Attachment: gfx_ieleak.html added

testcase demonstrating the issue.

comment:1 Changed 8 years ago by Patrick Ruzand

Milestone: tbd1.7.5
Owner: changed from Eugene Lazutkin to Patrick Ruzand
Priority: undecidedhigh
Status: newassigned

comment:2 Changed 8 years ago by Patrick Ruzand

Description: modified (diff)

The problem appears because of the gfx.shape.register function that creates new ids (strings) for each shape.
When the number of shapes that are created is huge (and so the number of id strings), IE seems not to be able to collect all the intern strings, even if there are no references to ids anymore.

Note: See TracTickets for help on using tickets.