Skip to content

WrapJavaScriptRuntimeException hides the stack-trace from log #420

Closed
@ashkansiroos

Description

@ashkansiroos

Hi Daniel,

First, Thanks a lot for the great library. It is just awesome, specially that it works very well with the engine switcher.
Secondly, I've tried to do some stress testing on my website and I've got an exception saying:

JavaScriptEngineSwitcher.Core.JsRuntimeException: Out of memory.
Line: 0
Column:0
at React.ReactEnvironment.Execute[T](String code)

I've looked it up and ended up in WrapJavaScriptRuntimeException where it hides the stack-trace. Could you please let the exception come up, or log it so we can see what is causing the error?

Since the log says that JavaScriptEngineSwitcher is throwing the exception, I've opened an issue here:
Taritsyn/JavaScriptEngineSwitcher#35

but I cannot be sure that JavaScriptEngineSwitcher is the one causing the problem specially since the error is more like if the memory is not released with concurrent threads which can be caused by something else like JSPool. :(

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions