wp memory
-
I have some questions about wp_memory_limit and php_memory settings.
I have this situation:
– php memory is 512MB max, set by my webhost
– wp_memory_limit by default is 40MB (like set in wp-includes/default-constants.php)Considering these 2 settings I have this questions:
– What happens when I change nothing? Will WordPress use just 40MB and will not use most of the 512MB memory then?
– Or does WordPress overwrite the 40MB setting in wp-includes/default-constants.php if a higher value is set in php.ini (512MB)?
– If WordPress does not overwrite the the 40MB setting, do I have to add “define(‘WP_MEMORY_LIMIT’, ‘xxxM’);” to my wp-config file?
– And must the value in “define(‘WP_MEMORY_LIMIT’, ‘xxxM’);” be the same as the maximum available php memory (512MB) or is it better to set the value lower and save some memory for other tasks?
Thank you very much for your help ??
Alwin
- The topic ‘wp memory’ is closed to new replies.