Firefox memory growing (only with webgl)


If I import a Movieclip from a swf library and I execute the the memory of Firefox process grows by each frame, so if the animation is a loop, the memory grows constantly. But it only happens when I run my project in Firefox with webGL. Into Firefox and canvas it works perfectly, or into Chrome in WebGL or Canvas too… is there any way to fix it?


Any help? Does this happen to anyone?

I am going to put an example:

Assets.loadLibrary(“game”).onComplete (function (e)

if mcMovieclip has 10 frames in loop, the firefox memory goes up indefinitely frame by frame and the garbage collector never release the orphan shapes. I remind you that it only happens with Firefox in webgl mode, with Firefox and canvas the memory remains stable and also with Chrome in whatever mode.


PD: Sorry for my english

I have discovered one thing, it only happens if there are vector shapes inside the frames. If there are bitmaps or I apply a cacheAsBitmap the memory remains stable.

This has been a noticeable issue in our WebGL game as well. Firefox users report that memory grows significantly after a while. We don’t have seem to have a similar problem on other browsers.