|
|
|
|
|
by runevault
1756 days ago
|
|
Maybe at small scales like embedded, but Go's GC has proven problematic even with static memory allocation. Some company (Discord?) ran into issues where the large heaps were scanned every 2 minutes because Go refuses to go longer than that w/o a GC check even if it has no reason to believe it needs to. |
|
https://blog.discord.com/why-discord-is-switching-from-go-to...
"After digging through the Go source code, we learned that Go will force a garbage collection run every 2 minutes at minimum. In other words, if garbage collection has not run for 2 minutes, regardless of heap growth, go will still force a garbage collection."
Discussed here at https://news.ycombinator.com/item?id=22238335