Monday 26 November 2007 2:36:51 am
Hi,
I import an CSV file (from the extension importXMLData) into my tree But I have this error :
<i>Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 20468 bytes) in /home/web/ezpublishv3/www/lib/ezi18n/classes/ezchartransform.php on line 296 </i> So I trace my code with memory_get_usage() and I have that function who takes a lot of memory (which is in a foreach)
$operationResult = eZOperationHandler::execute( 'content', 'publish',
array( 'object_id' => $contentObject->attribute( 'id' ),
'version' => $contentObject->attribute( 'current_version' )
)
);
How can I do to reduce the use of memory ?
thx for your help, Fabien
|