开发者

NodeJS: debugging memory use

开发者 https://www.devze.com 2023-03-30 11:32 出处:网络
I\'ve got a web crawler that is eating up a bunch of memory. I\'ve tried node --trace-gc as posted in \"NodeJS 0.3.1 app leaking memory\" and the problem is similar. I am using the async lib for multi

I've got a web crawler that is eating up a bunch of memory. I've tried node --trace-gc as posted in "NodeJS 0.3.1 app leaking memory" and the problem is similar. I am using the async lib for multiple gets to the server.

Can someon开发者_如何学Pythone point me in the right direction to find the leak? Any good tools or methods that i could use?


You could try node-inspector which would allow you to use WebKit's WebInspector.

Get it via npm npm install node-inspector

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号