[wp-trac] [WordPress Trac] #14254: update_meta_cache fails; query too large?

WordPress Trac noreply at wordpress.org
Fri Dec 9 23:08:51 UTC 2016


#14254: update_meta_cache fails; query too large?
-----------------------------------------------+---------------------------
 Reporter:  newpixel                           |       Owner:
     Type:  defect (bug)                       |      Status:  reopened
 Priority:  normal                             |   Milestone:  Future
Component:  Cache API                          |  Release
 Severity:  normal                             |     Version:  2.9.2
 Keywords:  has-patch 2nd-opinion needs-codex  |  Resolution:
                                               |     Focuses:
-----------------------------------------------+---------------------------

Comment (by jrfoell):

 I just want to upvote @jipmoors batch patch. I was getting intermittent
 500 errors because of out-of-memory on this very issue. 130 custom post's
 meta (with apparently **a lot** of meta) were trying to be cleared. I
 actually had to reduce the batch count from 250 to 100 to get it to fit in
 memory (150MB).

 I would suggest that maybe this value should be changeable via a filter.

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


More information about the wp-trac mailing list