diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/fragmentation/tfragment_gc.nim | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/fragmentation/tfragment_gc.nim b/tests/fragmentation/tfragment_gc.nim index 6e0ec37ce..1781f6610 100644 --- a/tests/fragmentation/tfragment_gc.nim +++ b/tests/fragmentation/tfragment_gc.nim @@ -20,7 +20,10 @@ let total = getTotalMem() # Concrete values on Win64: 58.152MiB / 188.285MiB -echo "occupied ok: ", occ < 60 * 1024 * 1024 +let occupiedOk = occ < 64 * 1024 * 1024 +if not occupiedOk: + echo "occupied ", formatSize(occ) +echo "occupied ok: ", occupiedOk let totalOk = total < 210 * 1024 * 1024 if not totalOk: echo "total peak memory ", formatSize(total) |