4 ms·
> 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
by chrisseaton 7y ago
> 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.