Paul Gu | Blog

sharing is caring

Allowed memory size error

When you try automatic upgrade for WordPress, you might get this error:

“Allowed memory size of 33554432 bytes exhausted (tried to allocate …)”

This can be solved easily by changing the setting:

Open file wp-settings.php, on line 13, increase the memory to bigger one like:

“define(‘WP_MEMORY_LIMIT’, ’64M’);”

This should fix the issue. If not, please also make sure the setting in php.ini is big enough:

“memory_limit = 128M”.

Next Post

Previous Post

Leave a Reply

© 2024 Paul Gu | Blog

Theme by Anders Norén