[wp-trac] [WordPress Trac] #24958: Large number of revisions cause memory exhaustion

WordPress Trac noreply at wordpress.org
Fri Apr 18 05:50:48 UTC 2014


#24958: Large number of revisions cause memory exhaustion
--------------------------+-----------------------------
 Reporter:  jshreve       |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  low           |   Milestone:  Future Release
Component:  Revisions     |     Version:  3.6
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+-----------------------------

Comment (by fliespl):

 I have been able to use up 512MB of memory with clean version of wordpress
 3.8.X (no plugins loaded).

 In my case post_content length was 300KB and there were about 1000
 revisions.

 I believe that this functionality shouldn't be querying full posts (since
 "metabox" only displays a list of revisions and not content) unless
 specified otherwise. Disabling post_content from this query resolved my
 memory issues. And WP was using less than 128MB.

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


More information about the wp-trac mailing list