Are you interested for monthly server support with Unlimited tickets, 24×7 monitoring, Security Audit and lot more ? please check our Monthly server support plans

Fatal error: Allowed memory size exhausted wordpress:

If you get the following error in wordpress,

Fatal error: Allowed memory size of 45325736 bytes exhausted (tried to allocate 43527 bytes)
in /var/www/user/wp-admin/includes/comment.php on line 47

This is because of the memory limit issue, For fixing this you need to either increase the memory limit in php.ini or you can do it in word press config.php file.

For increasing memory limit in php.ini,

Edit the php.ini file on the server, search for memory_limit and increase the value of it.

For adding it in wordpress config.php,

Edit the file wp-config.php and add the following line to it,

define('WP_MEMORY_LIMIT', '64M');

It will be done now.

Need our help to fix the issue ? Submit Support Ticket Now

[sep][/sep]

[button size=”large” color=”green” title=”Server Administration Services from Stack Supports” link=”http://iserversupport.com/server-support-products/server-security/”]View Server Administration Packages[/button]