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

WordPress Trac noreply at wordpress.org
Wed Jul 6 10:12:14 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:  4.6
Component:  Revisions                |     Version:  3.6
 Severity:  major                    |  Resolution:
 Keywords:  needs-unit-tests has-    |     Focuses:  administration,
  patch dev-feedback needs-testing   |  performance
  punt                               |
-------------------------------------+-------------------------------------
Changes (by ocean90):

 * keywords:  needs-unit-tests has-patch dev-feedback needs-testing =>
     needs-unit-tests has-patch dev-feedback needs-testing punt


Comment:

 Replying to [comment:54 adamsilverstein]:
 > I started working on some unit tests, somewhat blocked trying to figure
 out how to load the post edit screen successfully from the unit test side,
 i'd like to demonstrate memory usage isn't growing
 dramatically/continually as many revisions are added.

 Why would you need to load the edit screen here? Unit tests for each of
 the functions should be fine.

 Are you able to get a patch ready by end of the week? The latest one still
 looks like it requires a lot of work (unit tests, docs, why does it use
 raw queries?, why are some `current_user_can()` removed?) I have the
 feeling that this needs to land earlier in a cycle.

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


More information about the wp-trac mailing list