From: Marcus Boerger Date: Fri, 21 Mar 2008 17:13:08 +0000 (+0000) Subject: - MFH Increase max mmap size to 8 MB X-Git-Tag: BEFORE_NEW_PARAMETER_PARSE~500 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9f001a01a14c54771998c95bde4df98a03044f2f;p=php - MFH Increase max mmap size to 8 MB --- diff --git a/main/streams/mmap.c b/main/streams/mmap.c index 2dae36f977..6619fdc039 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 2MB limit to avoid * runaway swapping when large files are passed thru. */ - if (length > 2 * 1024 * 1024) { + if (length > 8 * 1024 * 1024) { return NULL; }