I am indeed trying to use V8 from a background thread. Here is a
little more code for context: https://gist.github.com/941913 . (Not
actual code. I simplified it for context).
I want to have a background thread be able to call and access the V8
instance. Is it possible?

On Mon, Apr 25, 2011 at 11:44 PM, Erik Corry <[email protected]> wrote:
> Den 26. apr. 2011 07.09 skrev Lasse R.H. Nielsen <[email protected]>:
>>
>> The obvious guess is that the JSON parser, which is recursive, actually
>> exhausts the stack while parsing.
>> Do you have a link to the module being parsed?
>
> It could also be a bug in using V8 with multiple threads.
>
>>
>> /L
>>
>> On Tue, Apr 26, 2011 at 04:29, Sridatta <[email protected]> wrote:
>>>
>>> I'm trying to call the native JSON parser from my v8 extension.
>>> However, when I do this, I get the following error: "Uncaught
>>> RangeError: Maximum call stack size exceeded". My code can be found
>>> here: https://gist.github.com/941668 . Can someone suggest what I'm
>>> doing wrong?
>>>
>>> --
>>> v8-users mailing list
>>> [email protected]
>>> http://groups.google.com/group/v8-users
>>
>>
>>
>> --
>> Lasse R.H. Nielsen
>> [email protected]
>> 'Faith without judgement merely degrades the spirit divine'
>> Google Denmark ApS - Frederiksborggade 20B, 1 sal - 1360 København K -
>> Denmark - CVR nr. 28 86 69 84
>>
>> --
>> v8-users mailing list
>> [email protected]
>> http://groups.google.com/group/v8-users
>
>
> --
> Erik Corry, Software Engineer
> Google Denmark ApS - Frederiksborggade 20B, 1 sal,
> 1360 København K - Denmark - CVR nr. 28 86 69 84
>
> --
> v8-users mailing list
> [email protected]
> http://groups.google.com/group/v8-users

-- 
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users

Reply via email to