ID: 14037 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Old Status: Feedback Status: Open Bug Type: DOM XML related Operating System: Linux PHP Version: 4.0.6 New Comment:
As stated, the memory used by Apache sky rockets... On my machine, it goes up to about 90% or so. We're working on a patch to this bug, we've got the memory leak fixed by closing the file using a function we wrote, but unfortunately that ended up causing a segfault in Apache. When we fix that problem, we'll post the fix here. Previous Comments: ------------------------------------------------------------------------ [2001-11-29 09:38:04] [EMAIL PROTECTED] What do you define as 'memory leak' ? Error output in apaches log? Feedback. ------------------------------------------------------------------------ [2001-11-12 17:01:15] [EMAIL PROTECTED] <?php echo "starting test ...<p>"; flush(); for ($i=0; $i<100; $i++) { $doc = xmldocfile( "SOMEXMLFILE" ); } echo "test finished"; ?> When this is done on Apache, the memory used by Apache sky rockets. The larger the XML file, the larger the memory leak. ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=14037&edit=1 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]