php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #15446 memory leak with xmldoc
Submitted: 2002-02-08 06:17 UTC Modified: 2002-06-18 19:19 UTC
From: jparneodo at yahoo dot fr Assigned:
Status: Not a bug Package: DOM XML related
PHP Version: 4.1.1 OS: RedHat7.1
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: jparneodo at yahoo dot fr
New email:
PHP Version: OS:

 

 [2002-02-08 06:17 UTC] jparneodo at yahoo dot fr
Use a small xml string and start this code
and look at your memory server, I've 150Mb
before the end of the loops :-(
Of course, I've the same result with a few loops
an big xml data.

for($j=1;$j<=20;$j++){
	for($i=1;$i<=1000;$i++){
		xmldoc($xml);
		echo "<br>loop $j:$i\n";
	}
	sleep(2);
}

Is it a memory leak?
Or a feature to add like xmldocfree()?

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-02-08 06:40 UTC] mfischer@php.net
That's a feature request and actually a duplicate (don't know the # of the other report). There was even a patch supplied (but last time I tested [=months ago ;)]) I had some problems with it.
 [2002-06-18 19:19 UTC] sniper@php.net
Just add your comments to the existing report.

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 14:01:32 2024 UTC