[wp-hackers] WordPress memory needed

Otto otto at ottodestruct.com
Tue Jul 24 00:25:34 UTC 2012


On Mon, Jul 23, 2012 at 3:35 PM, Diana K. C <dianakac at gmail.com> wrote:
> I wasn't aware that WP needes 256MB available memory (trac http://core.trac.wordpress.org/ticket/13847#comment:2) but it seems works ok with only 64MB also.
>
> Increase memory to 256 will be enough for minimal BuddyPress features and bbPress then?

WordPress doesn't "need" any particular amount of memory, however in
many configurations (and with plugins/themes/etc), the default of 32M
is often too low.

WordPress attempts to set the memory limit to 64M by default, and 256M
in specific places in the admin area (especially when manipulating
image files during media upload, extra memory is needed).

However, on many hosting configurations, the memory limit is fixed by
the host and cannot be adjusted by PHP code itself. In these cases, we
recommend having the memory limit set to a minimum of 64M, and higher
if you're going to be uploading large megapixel images. Setting the
memory limit higher does not mean that the process will actually use
that memory all the time, it only means that the process *can* use
that much memory, if needed, without triggering a fatal error.

-Otto


More information about the wp-hackers mailing list