diff options
author | Araq <rumpf_a@web.de> | 2018-07-30 23:27:01 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2018-07-30 23:27:01 +0200 |
commit | 53566f716501fe906b8b2aa4ce050be5d6eb0364 (patch) | |
tree | 01dfe04aaa07746d1ed005624ae7a100e3634eb7 /tests/gc | |
parent | f2ddd995393bc485880d3e56b277bad6448ad0c3 (diff) | |
download | Nim-53566f716501fe906b8b2aa4ce050be5d6eb0364.tar.gz |
fixes #7833; still to-do: fix setLen
Diffstat (limited to 'tests/gc')
-rw-r--r-- | tests/gc/growobjcrash.nim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/gc/growobjcrash.nim b/tests/gc/growobjcrash.nim index a16468c7e..b8ff4f908 100644 --- a/tests/gc/growobjcrash.nim +++ b/tests/gc/growobjcrash.nim @@ -14,11 +14,11 @@ proc handleRequest(query: string): StringTableRef = let x = foo result = x() -const Limit = when compileOption("gc", "markAndSweep"): 5*1024*1024 else: 700_000 +const Limit = 5*1024*1024 proc main = var counter = 0 - for i in 0 .. 100_000: + for i in 0 .. 10_000_000: for k, v in handleRequest("nick=Elina2&type=activate"): inc counter if counter mod 100 == 0: |