Go: Memory Management and Memory Sweep

Vincent Blanchon
A Journey With Go
Published in
4 min readNov 8, 2019

Illustration created for “A Journey With Go”, made from the original Go Gopher, created by Renee French.

ℹ️ This article is based on Go 1.13. The notions about memory management discussed here are explained in my article “Go: Memory Management and Allocation.”

Sweeping the memory is a process that allows Go to know which memory segments are newly available for allocation. However, it does not clean the memory with resetting the bits to zero.

Zeroing the memory

Vincent Blanchon
A Journey With Go