[wp-trac] [WordPress Trac] #44532: Extreme memory leak related to wp_is_stream in wp-includes/functions.php in WordPress 4.9.7
WordPress Trac
noreply at wordpress.org
Fri Jul 20 21:49:50 UTC 2018
#44532: Extreme memory leak related to wp_is_stream in wp-includes/functions.php in
WordPress 4.9.7
------------------------------------------+---------------------
Reporter: timbowesohft | Owner: pento
Type: defect (bug) | Status: closed
Priority: high | Milestone: 4.9.8
Component: Media | Version: 4.9.7
Severity: major | Resolution: fixed
Keywords: has-patch commit fixed-major | Focuses:
------------------------------------------+---------------------
Comment (by GregLone):
Replying to [comment:42 tristanleboss]:
> If the problem comes from the repeated call to `stream_get_wrappers`,
why don't we cache the output of this function in a function static
variable? I mean it's not supposed to change during the same request.
Agree. Can't it help?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/44532#comment:55>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list