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
What to do if you have a technical problem with OCS:

1. Search the forum. You can do this from the Advanced Search Page or from our Google Custom Search, which will search the entire PKP site. If you are encountering an error, we especially recommend searching the forum for said error.

2. Check the FAQ to see if your question or error has already been resolved. Please note that this FAQ is OJS-centric, but most issues are applicable to both platforms.

3. Post a question, but please, only after trying the above two solutions. If it's a workflow or usability question you should probably post to the OCS Conference Support and Discussion subforum; if you have a development question, try the OCS Development subforum.

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
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.)

Alec Smecher
Public Knowledge Project Team
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 3 guests