diff --git a/tests/regressions/test-big-heap.c b/tests/regressions/test-big-heap.c index cd9c14419..1cbf8d23c 100644 --- a/tests/regressions/test-big-heap.c +++ b/tests/regressions/test-big-heap.c @@ -55,11 +55,11 @@ main (int argc, char *argv[]) * contiguous memory. Therefore skip the test if the calloc call * fails. */ - /* XXX This test also fails for machines with ~ 4 GB of RAM, - * because the 2 GB allocation succeeds here, but the fork - * fails (since it will require around 2 * 2 GB). + /* XXX This test also fails for machines with ~ 2 GB of RAM, + * because the 1.1 GB allocation succeeds here, but the fork + * fails (since it will require around 2 * 1.1 GB). */ - mem = calloc (2 * 1024, 1024 * 1024); + mem = calloc (1100, 1024 * 1024); if (mem == NULL) { fprintf (stderr, "%s: test skipped because cannot allocate enough "