make tfragment_gc more robust
This commit is contained in:
parent
e8a52a0fc2
commit
1a5a09b835
1 changed files with 4 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue