Tuesday 23 June 2009 12:59:15 pm
Hi Just to let you know, I didn't find a solution (or where the leak was) at the time. I haven't tested it lately. We upgraded to 4.x, but it wouldn't surprise me if it still happened. And your post is suggesting $attribute->store() has a similar leak ? You can test that by hardcoding some debug in moduleOperationInfo::executeBody Andre R. - that's a nice link.
unset( $GLOBALS['eZContentObjectContentObjectCache'] );
unset( $GLOBALS['eZContentObjectDataMapCache'] );
unset( $GLOBALS['eZContentObjectVersionCache'] );
unset( $GLOBALS['eZContentClassAttributeCache'] );
unset( $GLOBALS["eZUserObject_".$node->ContentObjectID] );
I'm not sure if I checked the last one - i did inspect the others, and they didnt make much difference. The memory was lost somewhere else. *-pike
---------------
The class eZContentObjectTreeNode does.
|