vaastav
Joined 11 years ago
Karma
127
Submissions
21
Member since
May 14
Joined 11 years ago
EDIT: Sorry, I misunderstood part of your question. The memory grows unbounded unless you call runtime.GC() which triggers garbage collection. But this is a blocking call and essentially block your whole program.
More info about GOGC: https://dave.cheney.net/tag/gogc
lolwut