mirror of
https://github.com/nim-lang/Nim.git
synced 2026-05-03 04:24:45 +00:00
This commit is contained in:
committed by
Andreas Rumpf
parent
78c0ac5407
commit
9a390d66fb
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user