Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RangeError: Maximum call stack size exceeded #146

Closed
nukulb opened this issue May 22, 2014 · 6 comments
Closed

RangeError: Maximum call stack size exceeded #146

nukulb opened this issue May 22, 2014 · 6 comments
Labels

Comments

@nukulb
Copy link

nukulb commented May 22, 2014

/home/admin/dist/node_modules/newrelic/lib/timer.js:106
if (this.durationInMillis >= 0) return this.durationInMillis;
^
RangeError: Maximum call stack size exceeded

There is specific request where the server is grinding through some stuff for 2mins or so and then right after that request is returned to the client, the server dies with the RangeError above.

Turning newRelic off fixes the issue.

@johanneswuerbach
Copy link

Same here, but a different trace:

 /app/node_modules/newrelic/lib/util/flatten.js:13
   for (var key in obj) {
                   ^
 RangeError: Maximum call stack size exceeded

node-newrelic 1.7, node 0.10.28

@nukulb
Copy link
Author

nukulb commented Jun 3, 2014

@johanneswuerbach are you getting the timeout in similar situation? Just trying to figure out if its the same case or slightly different.

@johanneswuerbach
Copy link

I see this crash happening after some minutes, but no specific load. Downgrading to 1.5.3 fixed it for me.

@groundwater
Copy link
Contributor

Upon brief inspection, it looks like flatten in flatten.js does not guard against circular objects.

That's an easy enough fix, probably in the next release.

@txase
Copy link

txase commented Jun 16, 2014

The flatten.js issue should be fixed now in the release last week, version 1.7.2. Please give it a spin and see if it resolves the issue. It may only resolve the problem @johanneswuerbach saw, rather than the issue @nukulb saw.

@txase txase added bug labels Jun 26, 2014
@txase
Copy link

txase commented Aug 1, 2014

Since there hasn't been any movement on this ticket in a while, I'm going to close it out.

We're also moving support to our dedicated support portal at http://support.newrelic.com. If you continue to have any issues, please follow up there. We appreciate your understanding as we undergo this transition.

@txase txase closed this as completed Aug 1, 2014
@newrelic newrelic locked and limited conversation to collaborators Aug 1, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants