Fatal PHP Memory Limit Error

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

Fatal Error: PHP Allowed Memory Size Exhausted

The error normally occurs when PHP tries to process a big database records or when importing or exporting.

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

Was this answer helpful?

 Print this Article

Also Read

After I install osCommerce I get sessions directory error ?

Set this in both your admin/includes/configure.php and catalog/includes/configure.php: From:...

How to reset my Joomla administrator password?

You can reset your Joomla administrator's password through the script's MySQL Database. The most...

Wordpress theme installation issue?

I recently installed a few new themes to my wordpress site and i can see the colors and fonts,...

How to setup custom php.ini file?

What is php.ini?PHP.ini is very important configuration file for PHP that is used to customize...

What is suPHP ?

What is suPHP? (su = switch user, allowing one user to "switch" to another if authorised) The...