WordPress.org

Make WordPress Core

Opened 2 years ago

Last modified 19 months ago

#37391 new defect (bug)

memory issue action

Reported by: tazotodua Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Menus Keywords: reporter-feedback
Focuses: Cc:

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

#1 @SergeyBiryukov
23 months ago

  • Component changed from General to Menus

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

Note: See TracTickets for help on using tickets.