More memory for WordPress › S’

Since version 2.8, WordPress needs more memory (RAM) than before, this is mainly due to the new functions and the increasingly complex systems running in the background of WordPress. It is therefore foreseeable that the memory hunger will continue with future versions.

With a new plugin you can display the current memory consumption of the WordPress installation.

memory overview

Most cheap hosts only give their customers 32 MB or 64 MB, but 32 MB is clearly the lowest limit for WordPress! 64 MB or 96 MB are better. If you are very generous, give 128 MB. For example, allows 128 MB. To set the desired value, simply add a line to wp-config.php:

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

This sets the value to 96 MB. Just test in 32 MB steps how much your provider allows you. If suddenly only a white page or error messages appear, then it was too much ;). Then just go back down a bit.


Previous post Fatal error Out of memory allowed Attempt to allocate WordPress
Next post 15+ Memory Limit Htaccess WordPress Images