Wednesday 02 February 2011 9:21:19 am
While debugging some memory leakage in my script I ran into this forum post: http://share.ez.no/forums/developer/memory-problem-will-running-cronjob Using:
$object->resetDataMap();
eZContentObject::clearCache( array( $object->attribute('id') ) ); helped solving my leakage problem, but the interesting part is that using only eZContentObject::clearCache() without resetDataMap() also solved my problem. So, is resetDataMap() really needed when you use eZContentObject::clearCache(), ok can we go without it?
--
Nothing is impossible. Not if you can imagine it!
Hubert Farnsworth
|