[Kss-devel] Memory leaks
Godefroid Chapelle
gotcha at bubblenet.be
Sat Apr 19 08:21:39 CEST 2008
Christophe Bosse wrote:
> My IE version is 6.0.2900.2180 but I guess it happens on all IE6
> versions, don't know about IE7.
>
> Here, uniqueID does not seems to be a problem since it is a builtin
> attribute but kukitmark might be a problem.
> I forgot to mention that we also have to clean up events that have been
> declared. Which mean we must have an array which stores node, type, and
> func.
You are definitely right !
>
> Memory leaks also happens on standart plone page and yes they survide
> after next static page load (I've tested to go to the 'Zope Quick
> Start' page).
>
> In fact I could resolve those memory leaks by using jQuery events
> registration and data management.
> I've tried to act like jQuery does (unregistering all events and
> removing custom node attribute) but those leaks are still there. There
> must be something I missed.
Well, AFAIK, garbage collection is really bad in browsers in general and
in IE6 more specifically.
There are a lot of places where we could be leaking memory.
> I'll continue to investigates and at worst
> I'll see Godefroid at the Paris Sprint to show him.
I am definitely better when meeting face to face than when communicating
over written media.
I'd be enthusisast if you felt like working on this during the sprint.
I'll be working on "grokkers for Zope2" as well so we will try manage as
well as possible !
Bertrand did send a patch for KSS as well. Is he sprinting with us ?
Would you two sprint on chasing memory leaks ?
>
> I've used this tool to detect them, it also show you nodes which cause
> leaks:
> http://home.wanadoo.nl/jsrosman/sIEve-0.0.8.exe
Until now, I do not have Windows installed :-S
--
Godefroid Chapelle (aka __gotcha) http://bubblenet.be
More information about the Kss-devel
mailing list