Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

In case your WP installation throws errors like:

 

Code Block
Fatal error: Allowed memory size of xxxxxxxx bytes exhausted (tried to allocate xxxx bytes)

 

it means that your WordPress simply needs more memory. Nowadays our servers have 128M memory_limit set by default. But some scripts with different plugins may need more, thus, the error above may take place. In order to fix it and increase limit to 180M simply add the following line to the wp-config.php file:

 

Code Block
define('WP_MEMORY_LIMIT', '180M');

 

Please, note, that it will increase memory_limit for WP only. If you would like to increase memory_limit for all scripts inside your account, you need to create custom php.ini file with the code:

 

Code Block
memory_limit = 180M
upload_max_filesize = 180M
post_max_size = 180M

 

After that, make sure that settings in your php.ini are applied for your account globally.
You can find out how to do it at [How To] Load php.ini recursively for all subfolders

The links below also may be helpful to you:
[How To] Create or edit a php.ini file
[How To] Create or edit the .htaccess file

 

Content by Label
showLabelsfalse
max5
spacesGKB
sortmodified
showSpacefalse
reversetrue
typepage
labelsWordPress memory limit increase fatal error

...