Reduces the used memory by the GC and free the heap to the OS.
See Source File
Boost Software License 1.0
Copyright (c) 2020, Joakim Brännström. All rights reserved.
Joakim Brännström (joakim.brannstrom@gmx.com)
Trim the heap size by periodically force the GC to collect unused memory, free it and then tell malloc to further free it back to the OS.