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.