Bug #78039 [Opn->Fbk]: Huge memory leak when soap fault

From: Date: Mon, 20 May 2019 09:59:56 +0000
Subject: Bug #78039 [Opn->Fbk]: Huge memory leak when soap fault
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-220910@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=78039&edit=1 ID: 78039 Updated by: requinix@php.net Reported by: n0dwis at gmail dot com Summary: Huge memory leak when soap fault -Status: Open +Status: Feedback Type: Bug Package: SOAP related Operating System: Alpine Linux PHP Version: 7.2.18 Block user comment: N Private report: N New Comment: Thank you for this bug report. To properly diagnose the problem, we need a short but complete example script to be able to reproduce this bug ourselves. A proper reproducing script starts with <?php and ends with ?>, is max. 10-20 lines long and does not require any external resources such as databases, etc. If the script requires a database to demonstrate the issue, please make sure it creates all necessary tables, stored procedures etc. Please avoid embedding huge scripts into the report. Previous Comments: ------------------------------------------------------------------------ [2019-05-20 09:59:31] n0dwis at gmail dot com Description: ------------ When Soap call finished with error memory_get_usage shows increasing memory usage to 30Mb. This memory don't free in next requests. This is short log Before call soap 8MB Soap fault After call soap 46MB Before call soap 46MB Soap fault After call soap 72MB Before call soap 72MB Soap fault After call soap 100MB Before call soap 100MB Soap fault After call soap 128MB And this is log without failing. Memory leak exist too but not so big Before call soap 8MB After call soap 36MB Before call soap 38MB After call soap 38MB Before call soap 38MB After call soap 38MB Before call soap 38MB After call soap 40MB Before call soap 38MB After call soap 40MB Before call soap 40MB After call soap 40MB Before call soap 40MB After call soap 40MB Before call soap 38MB After call soap 40MB Before call soap 38MB After call soap 40MB Before call soap 40MB After call soap 40MB Before call soap 40MB After call soap 40MB Before call soap 38MB After call soap 40M This behaviour is in a php docker container 7.2.9 and 7.2.18 ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=78039&edit=1

« previous php.bugs (#220910) next »