by xmu_chen » Tue May 13, 2008 8:04 pm
hi, dear sir,
when i harvest a repository metadata, i meet the following error :
Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 529714 bytes) in /var/www/harvester/plugins/harvesters/oai/OAIXMLHandler.inc.php on line 313
it seems the memory_limit is too small in php.ini, so i set memory_limit = 160M (full memory is 1G)
but when i harvester it again, i meet the following error;
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 8192 bytes) in /var/www/harvester/cache/fc-schema-map.php on line 1
or
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 48 bytes) in /var/www/harvester/lib/adodb/adodb.inc.php on line 902
it seems the memory_limit is 32M, but i had set memory_limit = 160M.
what is wrong with me? is there any other parameters to set?
thanks!