You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I recently ran into a problem that I assume is due to node.js stack size limitation. From V8 engine documentation, the stack is limited to around 1MB by default. In my case I actually generated a rather heavy xhtml value in Opa, whose size might be close to this limit. When trying to build the web page with this xhtml value, I get a stack size error from node.js : "RangeError: Maximum call stack size exceeded"
Therefore I have two questions :
Is it possible to increase this limit ? I tried specifying the --stack_size parameter to the node.js executable, but it does not seem to be taken into account. The stack size limit remains at 1Mb whichever value I pass in the command line. I am using latest node.js version (v0.10.24)
In my opinion this limitation is somehow due to the fact that all Opa values are allocated in the stack, rather than in the heap. Is that correct ? Would it be possible to use memory allocation in the heap instead, which I guess is much less limited than the stack ?
Yours sincerally,
Mikael
The text was updated successfully, but these errors were encountered:
Hello,
I recently ran into a problem that I assume is due to node.js stack size limitation. From V8 engine documentation, the stack is limited to around 1MB by default. In my case I actually generated a rather heavy xhtml value in Opa, whose size might be close to this limit. When trying to build the web page with this xhtml value, I get a stack size error from node.js : "RangeError: Maximum call stack size exceeded"
Therefore I have two questions :
Yours sincerally,
Mikael
The text was updated successfully, but these errors were encountered: