diff --git a/lib/pure/json.nim b/lib/pure/json.nim index 3d86cc9d7e..cea485c439 100644 --- a/lib/pure/json.nim +++ b/lib/pure/json.nim @@ -1849,8 +1849,8 @@ when isMainModule: discard parseJson"""{ invalid""" except: discard - # memory diff should less than 2M - doAssert(abs(getOccupiedMem() - startMemory) < 2 * 1024 * 1024) + # memory diff should less than 4M + doAssert(abs(getOccupiedMem() - startMemory) < 4 * 1024 * 1024) # test `$`