Re: [EMAIL PROTECTED] Memory consumption

2005-08-03 Thread Kamil Srot
t-Disposition: attachment; filename=$theFileName");    $fd = fopen($file, "r");    while(!feof($fd))   {        echo fread($fd, 4096);        ob_flush();           }     From: Kamil Srot [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 02, 2005

Re: [EMAIL PROTECTED] Memory consumption

2005-08-02 Thread Kamil Srot
Hi Gary, Gary W. Smith wrote: How are you reading the file in order to output it? Some of the PHP commands do indeed read the entire file before processing. This would cause the entire file to sit in ram. I believe there are some binary functions that only read segments at a time. I thi

Re: [EMAIL PROTECTED] Memory consumption

2005-08-02 Thread Kamil Srot
Dear Joshua, thank you for your reply! Joshua Slive wrote: On 8/2/05, Kamil Srot <[EMAIL PROTECTED]> wrote: Situation: I have simple PHP script serving large files for autorized users... after some time, all memory of the server is consumed by httpd pro

[EMAIL PROTECTED] Memory consumption

2005-08-02 Thread Kamil Srot
broken download - Range headers seems to make apache allocate whole output into memory immediatelly Please can somebody help? Thank you, -- Kamil Srot - The official User-To-User support forum of the Apache HTTP Server Pr