Recycling memory buffers in Go

“To understand Go’s memory management it’s necessary to dig a little into the Go run-time code. There are two separate processes that take care of identifying memory that is no longer used by the program (that’s garbage collection) and returning memory to the operating system when it doesn’t look like it will be used again (that’s called scavenging in the Go code)…”

http://blog.cloudflare.com/recycling-memory-buffers-in-go