[wp-hackers] WP Memory usage
sam at rephrase.net
Tue May 30 21:25:55 GMT 2006
On 5/31/06, Shane Brady <shane.p.brady at gmail.com> wrote:
> I've noted that on the edit-pages.php page, with 300 pages, that the memory
> limit is exceed almost all the time.
The query isn't very efficient, since it fetches more data than it
uses (including post content, which will probably be larger than all
other fields combined).
page_rows() recurses but doesn't pass the $pages array by reference;
does that mean it's keeping n copies in memory (one per
hierarchy-level) while it walks the tree? That'd be murder on large
More information about the wp-hackers