From 9a390d66fb86eb68851000738be5744bea1261a0 Mon Sep 17 00:00:00 2001 From: Timothee Cour Date: Thu, 2 Aug 2018 04:33:46 -0700 Subject: [PATCH] fixes #8509 disable 4GB allocating test on windows that crashed appveyor (#8510) --- tests/fragmentation/tfragment_alloc.nim | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/tests/fragmentation/tfragment_alloc.nim b/tests/fragmentation/tfragment_alloc.nim index 5a44b7434..80341d2dc 100644 --- a/tests/fragmentation/tfragment_alloc.nim +++ b/tests/fragmentation/tfragment_alloc.nim @@ -16,9 +16,12 @@ proc main = dealloc p # c_fprintf(stdout, "iteration: %ld size: %ld\n", i, size) when defined(cpu64): - # bug #7120 - var x = alloc(((1 shl 29) - 4) * 8) - dealloc x + # see https://github.com/nim-lang/Nim/issues/8509 + # this often made appveyor (on windows) fail with out of memory + when defined(posix): + # bug #7120 + var x = alloc(((1 shl 29) - 4) * 8) + dealloc x main()