Make WordPress Core

Opened 3 years ago

Last modified 3 years ago

#21646 closed enhancement

Bump memory limit from 32MB — at Initial Version

Reported by: nacin Owned by:
Milestone: 3.5 Priority: normal
Severity: trivial Version: 3.0
Component: Performance Keywords: 2nd-opinion
Focuses: Cc:


On some shared hosts and servers, WordPress runs perilously close to 32MB in the dashboard, especially with a number of plugins included. It's time to bump. I am thinking 40MB as a good, relatively round number.

In the near future (once our minimum PHP version is 5.3, and possibly earlier for those already on 5.3), we can look into autoloading of all of our classes. That should take down our memory a bit. (kurtpayne has looked and it's not much, mainly because so many of them are used on most pages.)

Note that increasing the memory limit does not actually result in 8 more megabytes of memory being used. WordPress won't start eating up that memory — just that PHP allows the script to use up to 40MB. Otherwise, hitting 32 would give a fatal error.

We also should not take this as a license to further increase the side of the WordPress codebase, which has crept up at a pretty steady pace over the years. The only objective is to avoid fatal errors on individual.

Change History (0)

Note: See TracTickets for help on using tickets.