This is a simple scraper written in JavaScript with Node.js, for scraping Wikipedia for periodic table element data. The dependencies are jsdom for DOM manipulation and chain-ga
I know its not much of an answer but I had a similar problem. I have multiple scrapers running simultaneously and memory was getting leaked.
I have ended up using node-jquery instead of JSDOM
https://github.com/coolaj86/node-jquery