Re: limit for mmaping for readfile (Bug #19749)
| From: | Andi Gutmans | Date: | Wed, 21 Apr 2004 11:42:00 +0000 |
| Subject: | Re: limit for mmaping for readfile (Bug #19749) | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-9461@lists.php.net to get a copy of this message | ||
For now make it like 4MB. When you fix it to mmap() parts of the file I'd use 256 or 512KB.
Andi
At 12:38 PM 4/21/2004 +0100, Wez Furlong wrote:
Which brings us back to the original problem ;) How big should the limit be? --Wez. In that case, I'd put a hardcoded limit after which you fallback to non-mmap()'ed reading and not add an INI option. Then you can add the tweaked code when you have time/energy. Andi