We're using ClearScript.v8 (via React.NET) in asp.net web apps hosted in Azure and we get intermittent seemingly random occurrences of "Unknown error; potential stack overflow detected" which is coming from within the Clearscript.V8 code. Does anyone have any insight into the conditions that cause this - it seems to be very random and renders an engine unusable (the engine will have been taken from a runtime and executed scripts only a handful of times, after the error every attempt to execute code by that instance gets this error). I've played with the way the Runtime and Engines get used e.g. the number of usages of each instance, and also tried frequent garbage collection but to no avail.
It feels as if it's something environmental - a memory or other condition that makes the underlying V8 instance behave in a way that in turn triggers the error in ClearScript.V8.
NB We're running 32-bit but feel that while running 64-bit could alleviate the issue, it won't eliminate it unless someone can advise otherwise.
It feels as if it's something environmental - a memory or other condition that makes the underlying V8 instance behave in a way that in turn triggers the error in ClearScript.V8.
NB We're running 32-bit but feel that while running 64-bit could alleviate the issue, it won't eliminate it unless someone can advise otherwise.