hi all,
      I've been doing some memory profiling on my application, but I see 
there's a big disparity between the memory usage reported by pprof and what 
the system think it is using.  My application binary (compiled with 
go1.9.2) is about 22MB running on FreeBSD v11 on AWS (but I see the same on 
my local OSX env).   Is it because Golang GC now returning the free memory 
back to the OS?  

pprof reports:

Type: inuse_space

Time: Mar 18, 2018 at 2:54am (UTC)

Entering interactive mode (type "help" for commands, "o" for options)

(pprof) top

Showing nodes accounting for 8276.26kB, 84.34% of 9812.57kB total


top reports:

  PID USERNAME    THR PRI NICE   SIZE    RES STATE   C   TIME    WCPU 
COMMAND

11820 ec2-user      8  20    0   603M   588M uwait   1   0:16   0.26% 
/sw/bdo/latest/bin/apiserver -env test -node 1

anyone got any clues?

thanks in advance
eddie

-- 
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.

Reply via email to