[Kss-devel] Memory leaks

Christophe Bosse christophe.bosse at ingeniweb.com
Fri Apr 18 18:19:05 CEST 2008


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.

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. I'll continue to investigates and at worst I'll see
Godefroid at the Paris Sprint to show him.

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

2008/4/18, Balazs Ree <ree at ree.hu>:
>
> On Fri, 18 Apr 2008 09:35:38 +0200, Godefroid Chapelle wrote:
>
> > Balazs Ree wrote:
> >> On Thu, 17 Apr 2008 18:09:41 +0200, Balazs Ree wrote:
> >>
> >>> Hi Christophe,
> >>>
> >>> thanks for your investigation.
> >>>
> >>> On Thu, 17 Apr 2008 17:13:11 +0200, Christophe Bosse wrote:
> >>
> >>>> Those leaks are very important. I've done a folder_contents which has
> >>>> many rules for every single row and my IE grow by 5megs on each page
> >>>> !!!
> >>> Is this only on IE? And what version exactly?
> >>>
> >>>
> >> p.s. it just occured to me, folder_contents does not use KSS on the
> >> rows, afaik.
> >>
> > I think Christophe has built his own folder_contents with his own KSS
> > rules.
>
>
> Ah, sorry. I may have skipped this information from the beginning of the
> thread.
>
> Dear Cristophe, can you help us with tracking down this issue, let me re-
> formulate the questions I asked in my previous post! It would be
> essential to get the answers from you.
>
> - Does this only happen on IE, and if yes, on which versions exactly?
>
> - What makes you believe that uniqueId can be a problem? (Afaik uniqueId
> is a builtin node attribute on IE, so we never set it on IE, but I may be
> wrong.)
>
> - Can you please check on one of the standard Plone pages instead of a
> page customized by you (possibly not folder_contents that contains lots
> of non-kss code), and confirm if the leak happens again?
>
> - Can you confirm that when you talk about memory leaks, you talk about
> memory leaks that survive the next static page load? This is important
> because this way we do not need to look for our internal data structures,
> since there is no way they could cause this kind of leak.
>
> Thanks for your replies in advance.
>
>
>
>
>
> --
>
> Balazs Ree
>
>
> _______________________________________________
> Kss-devel mailing list
> Kss-devel at codespeak.net
> http://codespeak.net/mailman/listinfo/kss-devel
>



-- 
Christophe BOSSE - Fonction
INGENIWEB (TM) - SAS 50000 Euros - RC B 438 725 632
Bureaux de la Colline - 1 rue Royal - Bâtiment D - 9ème étage
92210 Saint Cloud - France
Phone : 01 78 15 24 02 / Fax : 01 46 02 44 04
http://www.ingeniweb.com - une société du groupe Alter Way
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://codespeak.net/pipermail/kss-devel/attachments/20080418/9686f2f1/attachment-0001.htm 


More information about the Kss-devel mailing list