- MFH Increase max mmap size to 8 MB

This commit is contained in:
Marcus Boerger 2008-03-21 17:13:08 +00:00
parent 7f02e564f7
commit 9f001a01a1

View file

@ -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;
}