Sails: Maximum call stack size exceeded

Created on 10 Jul 2016  路  2Comments  路  Source: balderdashy/sails

Waterline version: 0.11.2
Node version: 4.4.0
NPM version: 2.14.20
Operating system: Ubuntu 14.04 x64


sails v0.12.3

I've had a production app running for about 3 months now. Recently, I started getting these errors thrown and nothing has changed, except database has grown from use. I am unable to track down the root cause of these errors from Waterline. I've even gone as far as wrapping most of my model/db invokations in try/catch statements to narrow it down and nothing threw in my try/catches. After looking at the source code in /lib/waterline/transformations.js line 126, should there be use of process.nextTick()? Am I the only person that's experienced this? How would one track this down? Thanks!

RangeError: Maximum call stack size exceeded
    at /therms-1337/node_modules/sails/node_modules/waterline/lib/waterline/core/transformations.js:98:38
    at Array.forEach (native)
    at recursiveParse (/therms-1337/node_modules/sails/node_modules/waterline/lib/waterline/core/transformations.js:98:22)
    at /therms-1337/node_modules/sails/node_modules/waterline/lib/waterline/core/transformations.js:126:16
    at Array.forEach (native)
    at recursiveParse (/therms-1337/node_modules/sails/node_modules/waterline/lib/waterline/core/transformations.js:98:22)
    at /therms-1337/node_modules/sails/node_modules/waterline/lib/waterline/core/transformations.js:126:16
    at Array.forEach (native)
    at recursiveParse (/therms-1337/node_modules/sails/node_modules/waterline/lib/waterline/core/transformations.js:98:22)
    at /therms-1337/node_modules/sails/node_modules/waterline/lib/waterline/core/transformations.js:126:16
    at Array.forEach (native)
    at recursiveParse (/therms-1337/node_modules/sails/node_modules/waterline/lib/waterline/core/transformations.js:98:22)
    at /therms-1337/node_modules/sails/node_modules/waterline/lib/waterline/core/transformations.js:126:16
    at Array.forEach (native)
    at recursiveParse (/therms-1337/node_modules/sails/node_modules/waterline/lib/waterline/core/transformations.js:98:22)
    at /therms-1337/node_modules/sails/node_modules/waterline/lib/waterline/core/transformations.js:126:16

Most helpful comment

+1

All 2 comments

@crobinson42: Hello, I'm a repo bot-- nice to meet you!

It has been 30 days since there have been any updates or new comments on this page. If this issue has been resolved, feel free to disregard the rest of this message and simply close the issue if possible. On the other hand, if you are still waiting on a patch, please post a comment to keep the thread alive (with any new information you can provide).

If no further activity occurs on this thread within the next 3 days, the issue will automatically be closed.

Thanks so much for your help!

+1

Was this page helpful?
0 / 5 - 0 ratings

Related issues

edy picture edy  路  4Comments

thomasfr picture thomasfr  路  3Comments

kesavkolla picture kesavkolla  路  4Comments

mahfuzur picture mahfuzur  路  3Comments

Alirezamohammadi picture Alirezamohammadi  路  4Comments