Description

FreeOSMemory forces a garbage collection followed by an attempt to return as much memory to the operating system as possible. (Even if this is not called, the runtime gradually returns memory to the operating system in a background task.)

FreeOSMemory is referenced in 87 repositories

github.com/golang/go github.com/cznic/b github.com/golang-collections/b

...