Revel内存释放

sparks · · 4115 次点击
gihnius
http://gihnius.net/
跟系统多大没关系: $ ps -ao vsz,command | grep '[Gg]o' 145315836 gocode -s -sock unix -addr localhost:37373 145323568 godoc -http=:5000 $ echo $(( 145315836 / 1024 / 1024)) 138 还没研究过为啥. linux 系统没有这么大.
#5
更多评论
gihnius
http://gihnius.net/
http://golangtc.com/t/5284c856320b524d8e00000f 我用 wrk 测试, 内存从 10M 到 1G, 过一小时都没释放......
#1
polaris
社区,需要你我一同完善!
内存有没有释放,看 RES,而不是VIRT。Go 目前对于 VIRT 是不会释放的。
#2