diff --git a/include/mimalloc/types.h b/include/mimalloc/types.h index 1d3c7b07..e45da9a7 100644 --- a/include/mimalloc/types.h +++ b/include/mimalloc/types.h @@ -99,7 +99,8 @@ terms of the MIT license. A copy of the license can be found in the file #define MI_ENCODE_FREELIST 1 #endif -// Enable large pages for objects between 128KiB and 512KiB. Disabled by default. +// Enable large pages for objects between 64KiB and 256KiB. +// Disabled by default as for many workloads the block sizes above 64 KiB are quite random which can lead to too many partially used large pages. #ifndef MI_ENABLE_LARGE_PAGES #define MI_ENABLE_LARGE_PAGES 0 #endif