OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



Fatal error: Allowed memory size

Are you responsible for making OCS work -- installing, upgrading, migrating or troubleshooting? Do you think you've found a bug? Post in this forum.

Moderators: jmacgreg, michael, John

Forum rules
The Public Knowledge Project Support Forum is moving to http://forum.pkp.sfu.ca

This forum will be maintained permanently as an archived historical resource, but all new questions should be added to the new forum. Questions will no longer be monitored on this old forum after March 30, 2015.

Fatal error: Allowed memory size

Postby dbd » Fri Jul 19, 2013 1:28 pm

I'm getting a out of memory error when trying to run php /tools/upgrade.php to bring our system from version 2.3.6 (PHP ver 5.2.17)
to 2.4.2. I've set my PHP memory_limit in php.ini to 248M and verified that it is show up as that in the phpinfo() information listing.

Here is the specific error I'm getting:

Fatal error: Allowed memory size of 94371840 bytes exhausted (tried to allocate 8193 bytes) in /home/nfbjbir/jbir.nbpcb.org/lib/pkp/classes/file/FileWrapper.inc.php on line 88
dbd
 
Posts: 15
Joined: Fri Jul 19, 2013 1:24 pm

Re: Fatal error: Allowed memory size

Postby asmecher » Fri Jul 19, 2013 2:33 pm

Hi dbd,

See http://pkp.sfu.ca/support/forum/viewtopic.php?f=8&t=10058. (Not sure why your PHP is reporting out-of-memory at around 90MB rather than 248MB, but whatever.)

Regards,
Alec Smecher
Public Knowledge Project Team
asmecher
 
Posts: 10015
Joined: Wed Aug 10, 2005 12:56 pm


Return to OCS Technical Support

Who is online

Users browsing this forum: No registered users and 2 guests

cron