ID: 13516
Updated by: sander
Reported By: [EMAIL PROTECTED]
Status: Open
Old Bug Type: Reproducible crash
Bug Type: Feature/Change Request
Operating System: Irix
PHP Version: 4.0.6
New Comment:

Not a bug. Reclasified as a feature/change request.

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

[2001-10-02 12:39:53] [EMAIL PROTECTED]

When using fpassthru to output the contents of a large >1MB file it uses a lot of 
memory which causes my ISP's web server to terminate the httpd thread because it used 
too much memory. As a result the download is cut off.

If I use fread to read the file 1K at a time it works ok. 

Shouldn't fpassthru read a 1 or 10K chunks to avoid excess memory use on large files?



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



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


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to