File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -907,8 +907,8 @@ static int running_on_valgrind = -1;
907
907
* Arenas are allocated with mmap() on systems supporting anonymous memory
908
908
* mappings to reduce heap fragmentation.
909
909
*/
910
- #define ARENA_BITS 18
911
- #define ARENA_SIZE (1 << ARENA_BITS) /* 256 KiB */
910
+ #define ARENA_BITS 20
911
+ #define ARENA_SIZE (1 << ARENA_BITS) /* 1 MiB */
912
912
#define ARENA_SIZE_MASK (ARENA_SIZE - 1)
913
913
914
914
#ifdef WITH_MEMORY_LIMITS
@@ -918,8 +918,8 @@ static int running_on_valgrind = -1;
918
918
/*
919
919
* Size of the pools used for small blocks. Must be a power of 2.
920
920
*/
921
- #define POOL_BITS 12 /* 4 KiB */
922
- #define POOL_SIZE (1 << POOL_BITS) /* 4 KiB */
921
+ #define POOL_BITS 14 /* 16 KiB */
922
+ #define POOL_SIZE (1 << POOL_BITS)
923
923
#define POOL_SIZE_MASK (POOL_SIZE - 1)
924
924
925
925
#define MAX_POOLS_IN_ARENA (ARENA_SIZE / POOL_SIZE)
You can’t perform that action at this time.
0 commit comments