How is it crashing? Without a backtrace or error message it's hard to help.

The heap size limit is per Isolate (because each Isolate has its own heap),
so it shouldn't affect the number of Isolates you can create.

However 200 isolates on a 32-bit system with 2GB memory address space means
only 10MB per Isolate, which won't allow you to do much of anything.

On Thu, Apr 28, 2016 at 4:25 PM, Joris Wijnant <[email protected]>
wrote:

> Hi,
>
> I need to create a total of 200-300 instances of v8::Isolate.
> each handling the input of a socket and they need to be strictly separated
> from each other.
> However the V8 engine crashes after creating 50 of them.
> Which is around 300MB.
>
> The memory limit for v8 should be 700MB for 32 bit, but i don't even reach
> half of it.
> so that seems strange to me.
>
> I tried using --max-old-space-size=2000, but that did not change anything.
>
> What do I need to do, to create those 200 instances of v8::Isolate?
>
> kr,
> joris
>
> --
> --
> 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.
>

-- 
-- 
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