Bug #16635 Updated: dio_read() leaks memory
| From: | sterling@php.net | Date: | Sat, 20 Apr 2002 16:09:14 +0000 |
| Subject: | Bug #16635 Updated: dio_read() leaks memory | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-5471@lists.php.net to get a copy of this message | ||
ID: 16635
Updated by: sterling@php.net
Reported By: Jorfen@web.de
-Status: Assigned
+Status: Closed
Bug Type: Unknown/Other Function
Operating System: x86/Linux
PHP Version: 4.2.0
Assigned To: sterling
New Comment:
Cannot reproduce - this shouldn't happen.
Previous Comments:
------------------------------------------------------------------------
[2002-04-18 19:12:30] sniper@php.net
Assigned to Sterling who is the maintainer of this extension..
------------------------------------------------------------------------
[2002-04-16 11:11:28] Jorfen@web.de
I am using the RC4 of php4.2.0 with Apache/1.3.24 (Unix).
Every time dio_read() is called in a script, the htttpd process uses
more and more memory.
ex.:
$o = dio_read($fp,100000);
would let httpd grow by ca. x times of 100000.
unset($o) will not get the memory back. the httpd process would keep
its size until the script terminates.
Needing to call dio_read repeatidly makes it even worse. And using 1024
bytes blocks only slows the process of growing down.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=16635&edit=1