parent
9e37e3e5e8
commit
8f4c5a8955
7 changed files with 62 additions and 31 deletions
18
tests/system/t7894.nim
Normal file
18
tests/system/t7894.nim
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
discard """
|
||||
"""
|
||||
|
||||
import os
|
||||
|
||||
const size = 250000000
|
||||
var saved = newSeq[seq[int8]]()
|
||||
|
||||
for i in 0..22:
|
||||
# one of these is 0.25GB.
|
||||
#echo i
|
||||
var x = newSeq[int8](size)
|
||||
sleep(10)
|
||||
saved.add(x)
|
||||
|
||||
for x in saved:
|
||||
#echo x.len
|
||||
doAssert x.len == size
|
||||
Loading…
Add table
Add a link
Reference in a new issue