The title might be a little misleading, it should probably say "released" 
instead of "lost". 

On Thursday, October 13, 2016 at 10:22:49 AM UTC-7, Morgan Hein wrote:
> Howdy,
> I'm struggling here, and hopefully someone can point me in the right 
> direction.
> Here's a playground with the code <> 
> in question. Here's the pprof with memory usage 
> <>.
> I cannot understand why the memory usage is going up so much. As far as I 
> can tell, not only am I copying the data structure that is received in the 
> Gob, but i'm setting the original value of the ReceivedGob to nil. Why, 
> then, does the reflect.mapassign and gob.Decoder continue to increase in 
> memory?
> I am either missing something about scope, pointers, or Gob. Any insights 
> or help would be greatly appreciated.
> Thanks!

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 
For more options, visit

Reply via email to