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 <i...@golang.org> wrote: > > On Thu, Feb 7, 2019 at 2:33 AM Thomas S <soligna...@gmail.com> 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+unsubscr...@googlegroups.com. > 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.