On Fri, Apr 29, 2016 at 2:03 PM, Joris Wijnant <[email protected]>
wrote:

>
> What is the reason that is reserves 16 MB?
> I know that reserving some extra space can be for performance, that way
> you don't need to request more if you ran out.
> But what is the reason for 16 MB, why not less?
>

AFAIK that's what NewSpace could dynamically grow to, and it needed to be
in a contiguous address range. The only way to guarantee that is to reserve
the range up front.


> and can I possibly lower it, to lets say 5MB?
>

The current master branch as of the past few weeks should behave
differently.

However, as you can see from this example, V8 isn't designed to run with so
little address space, nor is that scenario tested or supported by us. It's
very likely that even if you work around this particular issue and manage
to instantiate all your Isolates, something else will blow up. At the very
least, I would suggest running all this on a 64-bit system; or even better
reconsider whether you really need hundreds of Isolates at the same time to
accomplish your goal.

-- 
-- 
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users
--- 
You received this message because you are subscribed to the Google Groups 
"v8-users" 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/d/optout.

Reply via email to