[wp-trac] [WordPress Trac] #43498: PHP Fatal error: Allowed memory size of 1073741824 bytes exhausted

WordPress Trac noreply at wordpress.org
Thu Mar 8 18:35:57 UTC 2018


#43498: PHP Fatal error:  Allowed memory size of 1073741824 bytes exhausted
-------------------------------+------------------------------
 Reporter:  arena              |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  General            |     Version:  trunk
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+------------------------------

Comment (by arena):

 Replying to [comment:4 SergeyBiryukov]:
 > Replying to [comment:3 arena]:
 > > I am using trunk (see attached for function wp_is_stream() )
 >
 > Thanks for the additional info! Could you see what the value of
 `stream_get_wrappers()` is?

 I just updated PHP 7.0.16 to PHP 7.1.15

 Here is what "var_dump(stream_get_wrappers());" looks like (out of WP)


 {{{
 array(11) {
   [0]=>
   string(3) "php"
   [1]=>
   string(4) "file"
   [2]=>
   string(4) "glob"
   [3]=>
   string(4) "data"
   [4]=>
   string(4) "http"
   [5]=>
   string(3) "ftp"
   [6]=>
   string(0) ""
   [7]=>
   string(0) ""
   [8]=>
   string(5) "https"
   [9]=>
   string(4) "ftps"
   [10]=>
   string(4) "phar"
 }
 }}}

 Now i have that kind of message (appears sooner than on previous php
 version):

 {{{
 [php7:error] [pid 5840:tid 1052] [client 127.0.0.1:49883] PHP Fatal error:
 Possible integer overflow in memory allocation (4 * 8319104478870268257 +
 32) in ...wordpress\\wp-includes\\functions.php on line 5472
 }}}


 always same line ...


 I am going to update to 7.2.3 to see what is happening.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/43498#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list