Bug #16635 Updated: dio_read() leaks memory
| From: | sniper@php.net | Date: | Thu, 18 Apr 2002 23:12:31 +0000 |
| Subject: | Bug #16635 Updated: dio_read() leaks memory | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-5346@lists.php.net to get a copy of this message | ||
ID: 16635
Updated by: sniper@php.net
Reported By: Jorfen@web.de
-Status: Open
+Status: Assigned
Bug Type: Unknown/Other Function
Operating System: x86/Linux
PHP Version: 4.2.0
-Assigned To:
+Assigned To: sterling
New Comment:
Assigned to Sterling who is the maintainer of this extension..
Previous Comments:
------------------------------------------------------------------------
[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