Re: [EMAIL PROTECTED] Memory consumption

2005-08-03 Thread Kamil Srot
hment; 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 6:01 PM To: users@httpd.apache.org Subject

[EMAIL PROTECTED] Memory consumption

2005-08-02 Thread Kamil Srot
- 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 Project. See URL:http

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