diff options
-rw-r--r-- | main/streams/mmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/streams/mmap.c b/main/streams/mmap.c index 82bfa623f1..aa4320dc76 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 1MB limit to avoid * runaway swapping when large files are passed thru. */ - if (length > 1 * 1024 * 1024) { + if (length > 2 * 1024 * 1024) { return NULL; } |