orientjs icon indicating copy to clipboard operation
orientjs copied to clipboard

BUG on Connections?

Open tiagodavi opened this issue 8 years ago • 3 comments

I've received this error when I tried to do a load test on my API using Orientjs. When I increase the number of clients orientjs dies!

0|bim-stag | at createUnsafeBuffer (buffer.js:39:12) 0|bim-stag | at allocate (buffer.js:182:12) 0|bim-stag | at Function.Buffer.allocUnsafe (buffer.js:142:10) 0|bim-stag | at new Buffer (buffer.js:79:19)

0|bim-stag | at Connection.handleSocketData (node_m odules/orientjs/lib/transport/binary/connection.js:281:14) 0|bim-stag | at Connection.handleSocketData (node_m odules/orientjs/lib/transport/binary/connection.js:300:12)

tiagodavi avatar Aug 04 '17 22:08 tiagodavi

RangeError: Maximum call stack size exceeded at Buffer.Uint8Array (native) at FastBuffer (buffer.js:12:5) at createUnsafeBuffer (buffer.js:39:12) at allocate (buffer.js:182:12) at Function.Buffer.allocUnsafe (buffer.js:142:10) at new Buffer (buffer.js:79:19)

tiagodavi avatar Aug 04 '17 22:08 tiagodavi

Hi @tiagodavi

which is your orientjs configuration?

Do you have a script to reproduce it?

wolf4ood avatar Aug 05 '17 07:08 wolf4ood

The same problem can be found here -> https://github.com/orientechnologies/orientjs/issues/116

I think this problem isn't related to the "total records fetched" but this problem seems to be related to the "total buffer stored" into a variable in nodeJS.

tiagodavi avatar Aug 08 '17 19:08 tiagodavi