[ka-Map-users] Re: Canvas memory usage?

Pg pg.navone at gmail.com
Tue Jun 27 07:37:53 EDT 2006


I did a quick check using Firefox 1.5 on Windows 2k, and the memory
usage seems to be stable when I display canvas objects.

I'll do some tests on Linux, but in the development and debug I've
never noted a so big memory jump.


2006/6/27, Justin George <justin.george at gmail.com>:
> I'm having a problem isolating why canvas is using so much memory.
>
> Currently, on firefox 1.5, when a canvas is created using the line
>
> (in kaXmlOverlay.js, line 1053, kaXmlPolygon.prototype.draw_canvas)
>
> var ctx = _BrowserIdent_getCanvasContext(this.canvas);
>
> memory usage jumps by around 200mb. This is not important for
> development, but, as most of our target users have far less memory
> than this, it is becoming important as we move towards deployment.
>
> You're the resident canvas expert, PG, so perhaps you could shed some
> light on the behavior of canvas?
>
> Thanks
> J
>


More information about the ka-Map-users mailing list