From:             [EMAIL PROTECTED]
Operating system: x86/Linux 
PHP version:      4.2.0
PHP Bug Type:     Unknown/Other Function
Bug description:  dio_read() leaks memory

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 bug report at http://bugs.php.net/?id=16635&edit=1
-- 
Fixed in CVS:        http://bugs.php.net/fix.php?id=16635&r=fixedcvs
Fixed in release:    http://bugs.php.net/fix.php?id=16635&r=alreadyfixed
Need backtrace:      http://bugs.php.net/fix.php?id=16635&r=needtrace
Try newer version:   http://bugs.php.net/fix.php?id=16635&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=16635&r=support
Expected behavior:   http://bugs.php.net/fix.php?id=16635&r=notwrong
Not enough info:     http://bugs.php.net/fix.php?id=16635&r=notenoughinfo
Submitted twice:     http://bugs.php.net/fix.php?id=16635&r=submittedtwice

Reply via email to