TlSF Alloctor: use less memory for --gc:arc (#13280)

This commit is contained in:
Andreas Rumpf 2020-01-28 17:09:48 +01:00 • committed by GitHub
commit be795bbf1a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 103 additions and 80 deletions

View file

@ -167,6 +167,8 @@ proc main() =
var elapsed = epochTime() - t
printDiagnostics()
echo("Completed in " & $elapsed & "s. Success!")
when declared(getMaxMem):
echo "Max memory ", formatSize getMaxMem()
when defined(GC_setMaxPause):
GC_setMaxPause 2_000