Re:Go memory ballast: How I learnt to stop worrying and love...
by chrisseaton on Monday December 02, 2019 @05:44AM
(#21681359)
> Sounds like go is missing the Java equivalent of -Xms which sets the minimum heap size before GC is necessary
-Xms sets the initial heap size, but GC happens before the heap is exhausted, in most GC configurations. There is a smaller eden in the heap, and GC is needed to evacuate objects out of the eden into the main heap.
-Xms sets the initial heap size, but GC happens before the heap is exhausted, in most GC configurations. There is a smaller eden in the heap, and GC is needed to evacuate objects out of the eden into the main heap.