[wp-trac] [WordPress Trac] #34560: High memory usage ( and possible server error) editing post with many/large revisions

WordPress Trac noreply at wordpress.org
Mon Jan 18 06:38:15 UTC 2016


#34560: High memory usage ( and possible server error) editing post with many/large
revisions
-------------------------------------+-------------------------------------
 Reporter:  pdfernhout               |       Owner:  adamsilverstein
     Type:  defect (bug)             |      Status:  assigned
 Priority:  normal                   |   Milestone:  Future Release
Component:  Revisions                |     Version:  3.6
 Severity:  major                    |  Resolution:
 Keywords:  needs-unit-tests has-    |     Focuses:  administration,
  patch dev-feedback needs-testing   |  performance
-------------------------------------+-------------------------------------

Comment (by adamsilverstein):

 [attachment:34560.8.diff] is an alternate approach, further reducing the
 query:

 * Construct a WP_Revisions class when revisions are used
 * Runs a single query on creation, storing revisions details, revision
 count and last revision id (all needed for the post edit screen)

 @pdfernhout Can you try running your tests again with the latest patch?
 Thanks!

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


More information about the wp-trac mailing list