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

WordPress Trac noreply at wordpress.org
Tue Dec 20 17:11:19 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 pavelevap):

 I noticed similar behaviour after updating client website from WP 3.1.x to
 latest 4.7. Homepage had more than 900 revisions and editing page was
 without TinyMCE (and not responsive), but I could compare revisions
 without problem.

 I found following error in logs: `PHP Fatal error: Allowed memory size of
 67108864 bytes exhausted (tried to allocate 8789 bytes) in /home/users
 /.../wp-includes/wp-db.php on line 1846`

 Cleaning revisions to latest 300 was the trick. But it can happen for
 other users and it is a little bit tricky to find the cause (it looks more
 like JS error).

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


More information about the wp-trac mailing list