Maximum memory
-
The maximum memory is reported in the admin bar of my WP install as 256Mb – i.e. something like:
Ram 16.74 of 256M (7%)256Mb seems to be the WP_MAX_MEMORY_LIMIT which is the default limit for the admin area. As I understand it, WP may want thsi much RAM but may not get it depending upon the server config (e.g. the PHP memory limit specified in php.ini). But 256Mb is just a way to ensure that WP has the maximum RAM available for installs, updates, etc which will be capped by the actual PHP memory limit.
Hence this doesn’t really make much sense to use in the Really Simple Health bar does it? Wouldn’t it be better to use the WP_MEMORY LIMIT value (as set in wp-config.php or defaulting to 40Mb if not specified) or even the actual PHP memory limit from the php.ini file etc?
Just a suggestion. The % RAM used figure is a bit meaningless as it stands in many cases, and makes it look like there is more RAM available to WP than might actually be the case.
Cheers, James
The topic ‘Maximum memory’ is closed to new replies.