From 53566f716501fe906b8b2aa4ce050be5d6eb0364 Mon Sep 17 00:00:00 2001 From: Araq Date: Mon, 30 Jul 2018 23:27:01 +0200 Subject: fixes #7833; still to-do: fix setLen --- tests/gc/growobjcrash.nim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/gc') 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: -- cgit 1.4.1-2-gfad0