Opened 3 years ago
Last modified 7 months ago
#37391 new defect (bug)
memory issue action
| Reported by: | 
  
     | 
      Owned by: | |
|---|---|---|---|
| Milestone: | Priority: | normal | |
| Severity: | normal | Version: | |
| Component: | Menus | Keywords: | reporter-feedback | 
| Focuses: | Cc: | ||
| PR Number: | 
Description
( 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.
Thanks for reporting!
Can you provide some insight into your setup? Does this issue persist with a default theme and no plugins running? How many menu items are in play?
We need to determine if this is a core issue or a result of server/plugins/theme configuration.