Created
February 14, 2013 12:55
-
-
Save kesla/4952569 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var levelup = require('levelup'); | |
var db = levelup('levelup-leak-db'); | |
db.put('foo', 'bar'); | |
function read() { | |
db.readStream().once('end', read); | |
} | |
read(); | |
setInterval(function() { | |
console.log(process.memoryUsage()); | |
}, 1000); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment