ID:               37845
 User updated by:  rr at ronrosen dot com
 Reported By:      rr at ronrosen dot com
 Status:           Open
 Bug Type:         Streams related
 Operating System: i386-redhat-linux
 PHP Version:      5.1.4
 New Comment:

one more thing. If the fwrite is eliminated, the mempry issuse 
does not happen.


Previous Comments:
------------------------------------------------------------------------

[2006-06-19 10:43:08] rr at ronrosen dot com

Description:
------------
When a large # of files are opend, written and closed, memory 
is never released. I tested it on windows and linux. Samve 
Problem. Strange thing, when the files are deleted on the 
linux version, the memory is released.

Reproduce code:
---------------
for($i=0;$i<10000;$i++)
{
        $h = fopen('/home/testdir/testfile'.$i.'.html','w');

        fwrite($h,'AAAA');

        fclose($h);


}




------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=37845&edit=1

Reply via email to