mirror of
https://github.com/nim-lang/Nim.git
synced 2026-02-18 17:08:32 +00:00
make tfragment_gc more robust
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user