Created
September 20, 2013 19:46
-
-
Save mikolalysenko/6642826 to your computer and use it in GitHub Desktop.
Does this leak?
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 m = new WeakMap() | |
var o | |
setInterval(function() { | |
for(var i=0; i<100; ++i) { | |
var x = new Int8Array(1e7) | |
m.set(x,x) | |
o = x | |
} | |
}, 100) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment