Support Central » Knowledgebase » Knowledgebase Article Not logged in. Login
 
Announcements

Knowledge Base

Submit a Ticket

Client Login
Article » [How to] Increase memory limit for Word Press

Rating:
Was this article helpful? YES NO MODERATELY
Views: 2243
Printable Version


In case your WP installation throws errors like
__________________________________________
Fatal error: Allowed memory size of xxxxxxxx bytes exhausted (tried to allocate xxxx bytes)<hr>
__________________________________________
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:

__________________________________________
define('WP_MEMORY_LIMIT', '180M');<hr>
__________________________________________

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:

__________________________________________
memory_limit = 180M
upload_max_filesize = 180M
post_max_size = 180M<hr>
__________________________________________

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

Follow-up and discuss this topic in our forums
Help Desk Powered By ProSupport v0.9.1