It looks like the vm you're running in has no swap configured. It's usually a good idea to add a small amount of swap, even if it is never used, it will make the linux vmm system less paranoid about running out of memory. If that isn't an option you need to alter the overcommit options to let the kernel know that you're ok with overcommitting memory that may never be touched.
On Wednesday, 22 March 2017 19:45:00 UTC+11, tpoisonooo wrote: > > I know that `top` is not report accurate memory usage. > > Now that Go application only use 222MB memory, why `top` shows 17.5% > memory usage? > > From Ubuntu 's point of view, my application uses too much memory. > I think it is the reason why ubuntu would kill my process. > > > -- 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
