leech
leech

Reputation: 8421

NodeJS: debugging memory use

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 someone point me in the right direction to find the leak? Any good tools or methods that i could use?

Upvotes: 2

Views: 837

Answers (1)

goatslacker
goatslacker

Reputation: 10190

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

Get it via npm npm install node-inspector

Upvotes: 5

Related Questions