[Kss-devel] Memory leaks
Balazs Ree
ree at ree.hu
Thu Apr 17 18:09:41 CEST 2008
Hi Christophe,
thanks for your investigation.
On Thu, 17 Apr 2008 17:13:11 +0200, Christophe Bosse wrote:
> So here's the trick to avoid memory leaks: For each node bound to an
> event there are 2 attributes (_kukitMark and uniqueID) set to a node,
> that's what it causes leaks.
>
> We must track those nodes to clean them on document unload. To clean
> attributes we must set them to null.
Instead of tracking them down, we should not set them at first.
If this is true, We probably need to change the way the _kukitmark is
handled. uniqueId cannot likely cause leaks on IE, because it is a
builtin on IE, and we only set those attributes on FF.
In addition, I am worried if setting a normal attribute causes a problem
on IE as well? Or are those deleted for sure when a node is deleted?
> 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?
Best wishes,
--
Balazs Ree
More information about the Kss-devel
mailing list