[wp-trac] [WordPress Trac] #37391: memory issue action

WordPress Trac noreply at wordpress.org
Sun Jul 17 22:14:38 UTC 2016


#37391: memory issue action
--------------------------+-----------------------------
 Reporter:  tazotodua     |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 ( i have seen this issue on  many sites)
 the problem is that, while saving any custom-menu,
 it gives frequently error:
 `PHP Fatal error: Out of memory (allocated xxxx) .... on `wp-
 includes/functions.php,  line 3350`
 it is `wp_list_filter` function. in the start of that function, i have
 included this script:

 echo '<pre>';print_r(debug_backtrace());
 and i have counted how many times `wp_list_filter` executes and how heavy
 data it processes on each loop.. look this file, i have included only
 first 5 "debug_backtrace: results (because after 20nd loop php crashed,
 because of out of memory):
 https://drive.google.com/open?id=0Bz7qe_olclTwVXEzeDk2eXdkZVk

 please help.

 i cant save menus, i cant do anything like that, it crashed with "out of
 memory". i know that i should increase memory limit, but evidently , WP
 has issue.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/37391>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list