There was a problem loading the comments.

PHP memory limit error

Support Portal  »  Knowledgebase  »  Viewing Article

  Print

Fatal error: Allowed memory size of 12582912 bytes exhausted (tried to allocate 23456789 bytes) in somefile.php

Fatal Error: PHP Allowed Memory Size Exhausted

These errors occur when PHP tries to process a large database record, or when importing or exporting a database.

To fix the problem, please modify the memory_limit line in php.ini to match this example:

memory_limit = 64M

We do set the maximum memory limit at 64 MB (67108864 bytes). If you want to go higher, you will need a VPS plan or dedicated server.

So, if you see "Allowed memory size of 67108864 bytes exhausted..." in the error, then you cannot increase the limit any higher without a VPS plan or dedicated server.


Share via
Did you find this article useful?  

Related Articles


Comments

Add Comment

Replying to  

CAPTCHA
© Osirion System Technologies