Make WordPress Core

Opened 2 years ago

Closed 2 years ago

#55835 closed defect (bug) (invalid)

Memory leak 6.0

Reported by: fsboberg's profile fsboberg Owned by:
Milestone: Priority: normal
Severity: normal Version: 6.0
Component: General Keywords:
Focuses: Cc:

Description

Hi!
I am experiencing mayor memory leaks since upgrading to 6.0, I can’t even enter a product page without exceeding the available 2 gig ram.

Fatal error: Allowed memory size of 2147483648 bytes exhausted (tried to allocate 70600040020 bytes) in public_html/wp-admin/includes/media.php on line 633

fatal error: Allowed memory size of 2147483648 bytes exhausted (tried to allocate 75306468244 bytes)

in public_html/wp-admin/includes/media.php on line 633

There has been a critical error on this website.

Fatal error: Allowed memory size of 2147483648 bytes exhausted (tried to allocate 10102405684 bytes)
in public_html/wp-admin/includes/template.php on line 1261
There has been a critical error on this website. Please check your site admin email inbox for instructions.

Fatal error: Allowed memory size of 2147483648 bytes exhausted (tried to allocate 32859146160 bytes)
in *public_html/wp-admin/includes/template.php on line 1261

Change History (5)

#1 @afragen
2 years ago

Have you tried flushing your object cache?

#2 @fsboberg
2 years ago

Hi Andy,
It started working after flushing the code and object cache, thank you for your assistants! 😊

#3 @afragen
2 years ago

I wrote a little plugin that I think should address this. I'm still testing it.

https://gist.github.com/afragen/d46d3cc2c7e07d99f921560dfbb70246

#4 @fsboberg
2 years ago

Nice, yes that sounds like it got the potential to be a very helpful plugin.

#5 @hellofromTonya
2 years ago

  • Keywords needs-patch removed
  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Severity changed from blocker to normal
  • Status changed from new to closed

Hello @fsboberg 👋,

Welcome to WordPress Core's Trac!

Thanks for confirming that clearing object cache resolved the issue 🎉. Kudos to @afragen for suggesting it 🌟

I'm closing this ticket, as it does not seem to be a Core source code issue.

If the problem persists, I'd suggest reaching out to your hosting provider or caching plugin provider for support. Another avenue is to open a support request in the support forums https://wordpress.org/support/topic/read-this-first-wordpress-6-0/. But if the problem is found to be within WordPress Core itself, please reopen this ticket and provide as more information as you can including step-by-step instructions on how to reproduce. Thank you!

Note: See TracTickets for help on using tickets.