Comment #26 on issue 847 by [email protected]: 1gb memory limit
http://code.google.com/p/v8/issues/detail?id=847
@rryk.ua: both strings and arrays have length limits that have nothing to
do with allocation limits and V8 will not allow them to grow without bounds
and throw a fake out-of-memory error.
try something more adequate: e.g. creating a lot of deeply nested tree like
structures, e.g.
(function () {
function tree (n, m) {
if (n > 0) {
var a = new Array(m);
for (var i = 0; i < m; i++) a[i] = tree(n - 1, m);
return a;
}
}
var trees = [];
while (true) trees.push(tree(15, 2));
})();
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.