-
-
Save anonymous/cb5e6c61efb57320a9d7 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 heapdump = require('./node_modules/heapdump'); | |
var obj = {}; | |
for (var i = 0; i < 10000; i++) { | |
obj[i] = i; | |
} | |
heapdump.writeSnapshot('./heapshots/' + Date.now() + '.heapsnapshot'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment