Subj : Re: memory leaking? To : Zbigniew Braniecki From : Brendan Eich Date : Fri Apr 09 2004 01:20 am Zbigniew Braniecki wrote: > I'm developing extension to Mozilla in JS, and found a problem with > memry managment. I hope it's proper newsgroup to ask. > > The problem is that on Linux machine memory does not go down after > deleting an object. So while managing many nested objects I always find > myself out of memory. The DOM should run the JS garbage collector often enough to help. > Please, take a look on testcase: > http://e-gandalf.net/mozilla/bugs/test.html > > You can create 1000 objects and then try to delete them using one of two > methods. None of them works. The delete operator removes properties from an object. It doesn't run the garbage collector. Likewise for reducing array lengths. > I don't have Windows machine, so I don't know how it looks there, but > few months ago I worked on similar structure on IE and there such thing > worked OK. Current IE results would be helpful. > Is this a bug and I should fill it? Sounds like a bug, but let's get m.dom folks to comment. /be > > Greetings > Zbigniew Braniecki .