Re: SVG in Firebug, large memory leak?

John J Barton <[email protected]> Mon, 04 Jan 2010 15:53:29 -0800
Newsgroups gmane.comp.mozilla.devel.svg
Message-ID <[email protected]>
Steven Roussey wrote:
> Using this version of Firebug:
> 
> http://fbug.googlecode.com/issues/attachment?aid=4515682982516050731&name=firebug-1.5b8pre-r5349.xpi
> 
> And going to this site:
> 
> http://tutorials.jenkov.com/svg/svg-examples.html
> 
> And right-clicking on some SVG thing like the circle or rectange, and
> you see something like this:
> 
> http://fbug.googlecode.com/issues/attachment?aid=1877902685949581625&name=Capture.PNG&inline=1
> 
> Now if you play in the style tab and turn on/off the fill and stroke,
> etc a few times you can see the memory usage go up megabytes at a
> time. 

I repeated this test with Firebug 1.6a1. I saw no memory increase at all 
on FF 3.6b6pre/Win XP.

 > Hitting reload makes it worse.

I reloaded multiple times, the memory was 87M, 87M, 87M, 90M, 90M, 89M.

Note this was a clean profile with only Firebug and FBTest. Specifically 
this was not with Chromebug, which is not able to track windows properly 
so it cannot be used for memory tests.

jjb