WordPress.org

Make WordPress Core

Opened 3 years ago

Last modified 7 months ago

#37391 new defect (bug)

memory issue action

Reported by: tazotodua 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.

Change History (3)

#1 @SergeyBiryukov
3 years ago

  • Component changed from General to Menus

#2 @welcher
3 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
7 months 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.