I'm struggling here, and hopefully someone can point me in the right
Here's a playground with the code <https://play.golang.org/p/OQZBSnxXmI> 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
I am either missing something about scope, pointers, or Gob. Any insights
or help would be greatly appreciated.
You received this message because you are subscribed to the Google Groups
To unsubscribe from this group and stop receiving emails from it, send an email
For more options, visit https://groups.google.com/d/optout.