#38604 [Opn->Fbk]: Memory leak in SimpleXML ?

From: Date: Mon, 28 Aug 2006 08:49:55 +0000
Subject: #38604 [Opn->Fbk]: Memory leak in SimpleXML ?
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-101420@lists.php.net to get a copy of this message
ID: 38604 Updated by: tony2001@php.net Reported By: apachephp at gmail dot com -Status: Open +Status: Feedback Bug Type: SimpleXML related Operating System: Linux PHP Version: 5.1.5 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: ------------------------------------------------------------------------ [2006-08-28 08:46:08] apachephp at gmail dot com Well, I don't have XML files with 10 bytes, and with 10Mb files my memory is exhausted after processing 20 files. Memory is OK if I am processing files one per run. ------------------------------------------------------------------------ [2006-08-28 08:09:05] tony2001@php.net I don't think you really need 10Mb file to reproduce it. If it really leaks, then it should do it even with 10 bytes XML file. ------------------------------------------------------------------------ [2006-08-28 07:58:29] apachephp at gmail dot com is it OK if I upload my XML files somewhere ? ------------------------------------------------------------------------ [2006-08-28 07:56:56] tony2001@php.net Cannot reproduce. ------------------------------------------------------------------------ [2006-08-28 07:30:04] apachephp at gmail dot com the same problem with php5.2-200608280630 ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/38604 -- Edit this bug report at http://bugs.php.net/?id=38604&edit=1

« previous php.bugs (#101420) next »