Howdy, I'm struggling here, and hopefully someone can point me in the right direction.
Here's a playground with the code <https://play.golang.org/p/OQZBSnxXmI> in question. Here's the pprof with memory usage <https://dl.dropboxusercontent.com/u/11780/memgraph-huge.pdf?dl=1>. 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 to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.