summaryrefslogtreecommitdiff
path: root/tests/test.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test.c')
-rw-r--r--tests/test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test.c b/tests/test.c
index 153d9775..c486714a 100644
--- a/tests/test.c
+++ b/tests/test.c
@@ -1275,7 +1275,7 @@ void check_heap_stats(void)
# endif
# endif
max_heap_sz *= n_tests;
-# ifdef USE_MMAP
+# if defined(USE_MMAP) || defined(MSWIN32)
max_heap_sz = NUMBER_ROUND_UP(max_heap_sz, 4 * 1024 * 1024);
# endif
/* Garbage collect repeatedly so that all inaccessible objects */