阅读背景:

JavaScript泄漏内存(Node.js / Restify / MongoDB)

来源:互联网 

Update 4: By instantiating the restify client (see controllers/messages.js) outside of the function and calling global.gc() after every request it seems the memory growth rate has been reduced a lot (~500KB per 10secs). Yet, the memory usage is still constantly growing.: By instantiating the restify client (




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: