Make WordPress Core

Opened 8 years ago

Last modified 5 years ago

#37391 new defect (bug)

memory issue action

Reported by: tazotodua's profile tazotodua Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Menus Keywords: reporter-feedback
Focuses: Cc:


( 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):

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.

Change History (3)

#1 @SergeyBiryukov
8 years ago

  • Component changed from General to Menus

#2 @welcher
7 years ago

  • Keywords reporter-feedback added

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.

#3 @desrosj
5 years ago

  • Milestone Awaiting Review deleted

I am going to close this out due to lack of reporter feedback. @tazotodua if you are still able to reproduce this issue and give steps to do so, it can be reopened.

Note: See TracTickets for help on using tickets.