discard """
disabled: "travis"
disabled: "appveyor"
joinable: false
disabled: 32bit
"""

# CI integration servers are out of memory for this test

const size = 250000000

proc main() =

  var saved = newSeq[seq[int8]]()

  for i in 0..22:
    # one of these is 0.25GB.
    #echo i
    var x = newSeq[int8](size)
    saved.add(x)

  for x in saved:
    #echo x.len
    doAssert x.len == size

main()
