summaryrefslogtreecommitdiff
path: root/var/spack/packages/julia/gc.patch
blob: 6db69c6c1b078f4608fe31b455c0a8fdb1f16068 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- julia/src/gc.c
+++ julia/src/gc.c
@@ -162,7 +162,7 @@
 // A region is contiguous storage for up to REGION_PG_COUNT naturally aligned GC_PAGE_SZ pages
 // It uses a very naive allocator (see malloc_page & free_page)
 #if defined(_P64) && !defined(_COMPILER_MICROSOFT_)
-#define REGION_PG_COUNT 16*8*4096 // 8G because virtual memory is cheap
+#define REGION_PG_COUNT 8*4096 // 512M
 #else
 #define REGION_PG_COUNT 8*4096 // 512M
 #endif