Ticket #5852 (closed enhancement: fixed)

Opened 9 months ago

Last modified 9 months ago

dojox gfx createImage allocate huge memory under IE 7.0

Reported by: guest Owned by: elazutkin
Priority: normal Milestone: 1.1
Component: DojoX GFX Version: 1.0
Severity: normal Keywords:
Cc:

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

Changed 9 months ago by dylan

  • summary changed from dojox gxf creatImage allocate huge memory under IE 7.0 to dojox gfx creatImage allocate huge memory under IE 7.0

Changed 9 months ago by dylan

  • summary changed from dojox gfx creatImage allocate huge memory under IE 7.0 to dojox gfx createImage allocate huge memory under IE 7.0

Changed 9 months ago by elazutkin

  • priority changed from high to normal
  • status changed from new to assigned
  • severity changed from major to normal
  • milestone set to 1.1

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.

Changed 9 months ago by elazutkin

  • status changed from assigned to closed
  • resolution set to fixed

(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.