Skip to content

ApplicationInsights crashes Node server with "RangeError: Maximum call stack size exceeded" #469

Closed

Description

Hello,

We're seeing an issue where our Node server is crashing when we have AppInsights configured. When the server starts it can handle requests fine, but if we just let it run for about 30 minutes, it'll crash and give us this error message:

D:\repos\DemoPartner\build\server.js:148960
                return value.apply(this, [error, structuredStackTrace]);
                             ^

RangeError: Maximum call stack size exceeded

The stack trace is pointing to what looks like zone.js code, which is a dependency from AppInsights. We confirmed that completely removing AppInsights fixes the problem.

I thought it might be related to #294, but we're still seeing the issue after setting setAutoDependencyCorrelation(false) when configuring AppInsights.

Has anyone else seen this error, or have any suggestions?

Thanks,
Matt Dyke

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions