Bug #16635 Updated: dio_read() leaks memory

2002-04-20 Thread sterling

 ID:   16635
 Updated by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
-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] [EMAIL PROTECTED]

Assigned to Sterling who is the maintainer of this extension..




[2002-04-16 11:11:28] [EMAIL PROTECTED]

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,10);

would let httpd grow by ca. x times of 10.
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=16635edit=1




Bug #16635 Updated: dio_read() leaks memory

2002-04-18 Thread sniper

 ID:   16635
 Updated by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
-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] [EMAIL PROTECTED]

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,10);

would let httpd grow by ca. x times of 10.
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=16635edit=1