From: Marcus Boerger Date: Fri, 21 Mar 2008 19:37:32 +0000 (+0000) Subject: - Settle to 4 MB, see internals@ archives X-Git-Tag: RELEASE_2_0_0a1~59 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=384d50b37bf0e9d82e5b8845dd6007b756d78fd8;p=php - Settle to 4 MB, see internals@ archives --- diff --git a/main/streams/mmap.c b/main/streams/mmap.c index 633ab1b706..9749257f7a 100644 --- a/main/streams/mmap.c +++ b/main/streams/mmap.c @@ -33,7 +33,7 @@ PHPAPI char *_php_stream_mmap_range(php_stream *stream, size_t offset, size_t le /* For now, we impose an arbitrary limit to avoid * runaway swapping when large files are passed thru. */ - if (length > 8 * 1024 * 1024) { + if (length > 4 * 1024 * 1024) { return NULL; }