Make WordPress Core

Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#44614 closed defect (bug) (duplicate)

Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 140737333794643 bytes)

Reported by: looimaster's profile Looimaster Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Filesystem API Keywords:
Focuses: Cc:

Description

I'm getting this error a couple of times a day:

Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 140737333794643 bytes) in C:\wamp64\www\wp\wp-includes\functions.php on line 5231

#	Time	Memory	Function	Location
1	0.0006	367576	{main}( )	...\index.php:0
2	0.0013	369632	require( 'C:\wamp64\www\wp\wp-blog-header.php' )	...\index.php:17
3	0.0018	385024	require_once( 'C:\wamp64\www\wp\wp-load.php' )	...\wp-blog-header.php:13
4	0.0024	397720	require_once( 'C:\wamp64\www\wp\wp-config.php' )	...\wp-load.php:37
5	0.0040	501304	require_once( 'C:\wamp64\www\wp\wp-settings.php' )	...\wp-config.php:90
6	0.2748	20222480	wp_register_plugin_realpath( )	...\wp-settings.php:304
7	0.2748	20222552	wp_normalize_path( )	...\plugin.php:694
8	0.2748	20222584	wp_is_stream( )	...\functions.php:1714
9	0.2748	20223312	join ( )	...\functions.php:5231

But now it's stuck like that permanently.

The only solution that works: rename /plugins/ folder to /plugins-backup/.

Removing individual plugins doesn't remove the error. Only removing ALL plugins removes this error.

Change History (2)

#1 @SergeyBiryukov
6 years ago

  • Component changed from General to Filesystem API
  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed

Hi @Looimaster, thanks for the report!

We're already tracking this is issue in #44532.

#2 @pbiron
6 years ago

A patch intended to reduce the likely of that problem surfacing is included in 4.9.8 Beta 1 released on tues.

Note: See TracTickets for help on using tickets.