[wp-hackers] WP Memory usage
David Chait
davebytes at comcast.net
Tue May 30 21:42:37 GMT 2006
Yeah, I hacked my code at one point to only grab the post_excerpt field on a
multi-post query... much better. ;)
----- Original Message -----
From: "Sam Angove" <sam at rephrase.net>
To: <wp-hackers at lists.automattic.com>
Sent: Tuesday, May 30, 2006 5:25 PM
Subject: Re: [wp-hackers] WP Memory usage
| 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
| lists.
| _______________________________________________
| wp-hackers mailing list
| wp-hackers at lists.automattic.com
| http://lists.automattic.com/mailman/listinfo/wp-hackers
|
More information about the wp-hackers
mailing list