[wp-trac] [WordPress Trac] #8874: wp_list_pages consume a lot of memory

WordPress Trac noreply at wordpress.org
Thu May 29 01:51:40 UTC 2014


#8874: wp_list_pages  consume a lot of memory
-------------------------+--------------------------
 Reporter:  horaciod     |       Owner:
     Type:  enhancement  |      Status:  reopened
 Priority:  normal       |   Milestone:  4.0
Component:  Query        |     Version:  2.7
 Severity:  normal       |  Resolution:
 Keywords:  needs-patch  |     Focuses:  performance
-------------------------+--------------------------
Changes (by wonderboymusic):

 * milestone:  Future Release => 4.0


Comment:

 for 500 pages with 20 paragraphs of `post_content` each, it consumes 2MB
 for `*` and 300KB for `ID, post_title, post_parent`

 Since `get_pages()` uses direct SQL, we can accomplish this without
 #19866. Officially a fan.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/8874#comment:14>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list