Re: [go-nuts] Re: golang program use a lot memory

2019-02-27 Thread Pawel Zadrozny
Please take a look at this article https://blog.learngoprogramming.com/a-visual-guide-to-golang-memory-allocator-from-ground-up-e132258453ed TOP will show you all virtual memory which kernel reserved for application, not a memory used by application. On 27.02.2019 10:20, Lee Rick wrote: 在 20

Re: [go-nuts] trouble passing an argument to a script

2019-02-26 Thread Pawel Zadrozny
Try to use absolute path to config file. import "filepath" configPath := filepath.Abs(filepath.Clean(*config)) cfg, err := ini.Load(configPath) On 26.02.2019 10:57, Natxo Asenjo wrote: hi, On Tuesday, February 26, 2019 at 10:51:28 AM UTC+1, Sebastien Binet wrote: from the compilat