Thank you Ian & Robert ! Yes Indeed, the size are changing, because it's trees mainly, and some maps/slices
Le jeudi 7 février 2019 19:49:13 UTC+1, robert engels a écrit : > > Is that really true though I am thinking the OP has pointers in global > variables, and the size of the objects pointed to are changing. > > The question is not very clear though. > > > On Feb 7, 2019, at 12:33 PM, Ian Lance Taylor <ia...@golang.org > <javascript:>> wrote: > > > > On Thu, Feb 7, 2019 at 2:33 AM Thomas S <solig...@gmail.com > <javascript:>> wrote: > >> > >> But now, to go forward, I need a monitoring of my globals variables. > >> And not of the "run consumption" of ram. > >> > >> Any ideas on how to do this efficiently ? > > > > The size of your global variables doesn't change during execution of > > your program, of course. If you are using GNU/Linux you can see the > > size of each separate global variable by running "readelf -s BINARY" > > and looking at the "Size" column. > > > > 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...@googlegroups.com <javascript:>. > > For more options, visit https://groups.google.com/d/optout. > > -- 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.