Opened 12 years ago

Closed 12 years ago

#5852 closed enhancement (fixed)

dojox gfx createImage allocate huge memory under IE 7.0

Reported by: guest Owned by: Eugene Lazutkin
Priority: high Milestone: 1.1
Component: DojoX GFX Version: 1.0
Keywords: Cc:
Blocked By: Blocking:

Description

Invoking createImage() under dojox.gfx cause memory allocation proportional to how many images you would draw, up to 12Mbytes allocated when create a image(src of png), 2 triangles and one text as one unit of entity. The same code only consumes about 2k in FF.

This issue was first posted on July 2007 by another user, refer to http://dojotoolkit.org/forum/dojox-dojox/dojox-support/huge-memory-allocation-ie-when-creating-gfx-image-createimage for the full history of the same issue.

Change History (4)

comment:1 Changed 12 years ago by dylan

Summary: dojox gxf creatImage allocate huge memory under IE 7.0dojox gfx creatImage allocate huge memory under IE 7.0

comment:2 Changed 12 years ago by dylan

Summary: dojox gfx creatImage allocate huge memory under IE 7.0dojox gfx createImage allocate huge memory under IE 7.0

comment:3 Changed 12 years ago by Eugene Lazutkin

Milestone: 1.1
Priority: highnormal
severity: majornormal
Status: newassigned

This problem is related to how IE implements filters. It is possible to add an extra code to avoid using them for untransformed images. But nothing more. In general it should be fixed in IE to make it compete with FF and other browsers.

comment:4 Changed 12 years ago by Eugene Lazutkin

Resolution: fixed
Status: assignedclosed

(In [12594]) Preventing IE from allocating large memory chunks for images in cases of trivial transformations (scaling + translating). Fixes #5852, !strict

Note: See TracTickets for help on using tickets.