node --inspect --trace_gc src/server
ab -r -k -n 1000 -c 200 -H "user-agent:Googlebot/2.1 (+http://www.googlebot.com/bot.html)" http://localhost:8000/programs
This will spin up a node app in inspect mode and then we use the ab
tool to fire a number of requests to a particular page that we think might have a memory leak and watch the logs on the console.