Monday, 15 September 2014

How do I programmatically know when I’m about to exceed the javascript heap size? -



How do I programmatically know when I’m about to exceed the javascript heap size? -

this question has reply here:

how observe memory limits in javascript? 3 answers

i’m writing application instantiates many big array buffers, of 5mb. know when i’m fill javascript heap, activate status in javascript halts allocating buffers. i’ve found if exceed heap size, browser crashes chrome , firefox.

does w3c expose interface gauging javascript heap usage?

nope.

the javascript (ecma-262 5.1 edition) language specifies no such functionality.

javascript

No comments:

Post a Comment