On Tue, Oct 24, 2017 at 12:38 PM, Juliusz Chroboczek <j...@irif.fr> wrote:
>
>> It depends entirely on your program.  The simplest way to think about
>> it is that the runtime imposes an overhead on the memory that your
>> program allocates for its own data structures.  If you think of that
>> overhead as 10%, you won't be very far wrong.
>
> How does that fit with GOGC being 100% by default?

I wasn't thinking of that kind of overhead.  You're right, for a long
running program with the default GOGC, the memory overhead is 100%.
That is, from the operating system's point of view, your program will
allocate about twice as much memory as it really needs.

Ian

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to