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 #192

Open
xidui opened this issue Jun 8, 2016 · 4 comments
Open

RangeError: Maximum call stack size exceeded #192

xidui opened this issue Jun 8, 2016 · 4 comments
Labels

Comments

@xidui
Copy link
Contributor

xidui commented Jun 8, 2016

[nodebb-plugin-import] importer.success [2016-06-08T08:45:12.589Z] Phase ::: rebanAndMarkReadForUsersStart

rebanAndMarkReadForUsersStart ::: 376499/404828, 93.0022132856423%8/6 16:46 [91020] - error: RangeError: Maximum call stack size exceeded
    at Socket.flush (/Users/xidui/Documents/xidui/github/NodeBB/node_modules/engine.io/lib/socket.js:413:32)
    at emitNone (events.js:85:20)
    at WebSocket.emit (events.js:179:7)
    at Array.<anonymous> (/Users/xidui/Documents/xidui/github/NodeBB/node_modules/engine.io/lib/transports/websocket.js:109:14)
    at _stream_writable.js:383:15
    at afterWrite (_stream_writable.js:346:3)
    at onwrite (_stream_writable.js:337:7)
    at Socket.WritableState.onwrite (_stream_writable.js:89:5)
    at WriteWrap.afterWrite (net.js:775:12)
RangeError: Maximum call stack size exceeded
    at Socket.flush (/Users/xidui/Documents/xidui/github/NodeBB/node_modules/engine.io/lib/socket.js:413:32)
    at emitNone (events.js:85:20)
    at WebSocket.emit (events.js:179:7)
    at Array.<anonymous> (/Users/xidui/Documents/xidui/github/NodeBB/node_modules/engine.io/lib/transports/websocket.js:109:14)
    at _stream_writable.js:383:15
    at afterWrite (_stream_writable.js:346:3)
    at onwrite (_stream_writable.js:337:7)
    at Socket.WritableState.onwrite (_stream_writable.js:89:5)
    at WriteWrap.afterWrite (net.js:775:12)

@akhoury
Copy link
Owner

akhoury commented Jun 8, 2016

hmm.. can you provide the following:

  • OS you're using
  • NodeBB version
  • database type
  • which exporter

@akhoury akhoury added the bug label Jun 8, 2016
@xidui
Copy link
Contributor Author

xidui commented Jun 9, 2016

  1. Mac OSX 10.10.5
  2. The latest commit is 01aeb45
  3. mongodb
  4. https://github.com/xidui/nodebb-plugin-import-q2a

@akhoury
Copy link
Owner

akhoury commented Jun 9, 2016

does it do the same with NodeBB v1.0.0

see https://github.com/akhoury/nodebb-plugin-import#latest-version-only-supports

@timkock
Copy link

timkock commented Jun 9, 2020

@xidui I have had this in a different area, it might help to increase the call stack for these kind of actions. In my case I had it when running ./nodebb upgrade because of a massive database and the way NodeBB is built.

This did it for me in my case
/bin/bash -c "ulimit -s 65500; exec /usr/local/bin/node --stack-size=65500 ./nodebb upgrade"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants