{"action":"created","issue":{"url":"https://api.github.com/repos/orientechnologies/orientjs/issues/116","labels_url":"https://api.github.com/repos/orientechnologies/orientjs/issues/116/labels{/name}","comments_url":"https://api.github.com/repos/orientechnologies/orientjs/issues/116/comments","events_url":"https://api.github.com/repos/orientechnologies/orientjs/issues/116/events","html_url":"https://github.com/orientechnologies/orientjs/issues/116","id":115086519,"number":116,"title":"Maximum call stack size exceeded with over 139000 records","user":{"login":"zero-","id":1594723,"avatar_url":"https://avatars.githubusercontent.com/u/1594723?v=3","gravatar_id":"","url":"https://api.github.com/users/zero-","html_url":"https://github.com/zero-","followers_url":"https://api.github.com/users/zero-/followers","following_url":"https://api.github.com/users/zero-/following{/other_user}","gists_url":"https://api.github.com/users/zero-/gists{/gist_id}","starred_url":"https://api.github.com/users/zero-/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zero-/subscriptions","organizations_url":"https://api.github.com/users/zero-/orgs","repos_url":"https://api.github.com/users/zero-/repos","events_url":"https://api.github.com/users/zero-/events{/privacy}","received_events_url":"https://api.github.com/users/zero-/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/orientechnologies/orientjs/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":{"login":"maggiolo00","id":98812,"avatar_url":"https://avatars.githubusercontent.com/u/98812?v=3","gravatar_id":"","url":"https://api.github.com/users/maggiolo00","html_url":"https://github.com/maggiolo00","followers_url":"https://api.github.com/users/maggiolo00/followers","following_url":"https://api.github.com/users/maggiolo00/following{/other_user}","gists_url":"https://api.github.com/users/maggiolo00/gists{/gist_id}","starred_url":"https://api.github.com/users/maggiolo00/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maggiolo00/subscriptions","organizations_url":"https://api.github.com/users/maggiolo00/orgs","repos_url":"https://api.github.com/users/maggiolo00/repos","events_url":"https://api.github.com/users/maggiolo00/events{/privacy}","received_events_url":"https://api.github.com/users/maggiolo00/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/orientechnologies/orientjs/milestones/1","html_url":"https://github.com/orientechnologies/orientjs/milestones/2.2","labels_url":"https://api.github.com/repos/orientechnologies/orientjs/milestones/1/labels","id":1204831,"number":1,"title":"2.2","description":null,"creator":{"login":"luigidellaquila","id":459289,"avatar_url":"https://avatars.githubusercontent.com/u/459289?v=3","gravatar_id":"","url":"https://api.github.com/users/luigidellaquila","html_url":"https://github.com/luigidellaquila","followers_url":"https://api.github.com/users/luigidellaquila/followers","following_url":"https://api.github.com/users/luigidellaquila/following{/other_user}","gists_url":"https://api.github.com/users/luigidellaquila/gists{/gist_id}","starred_url":"https://api.github.com/users/luigidellaquila/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luigidellaquila/subscriptions","organizations_url":"https://api.github.com/users/luigidellaquila/orgs","repos_url":"https://api.github.com/users/luigidellaquila/repos","events_url":"https://api.github.com/users/luigidellaquila/events{/privacy}","received_events_url":"https://api.github.com/users/luigidellaquila/received_events","type":"User","site_admin":false},"open_issues":9,"closed_issues":0,"state":"open","created_at":"2015-07-13T09:59:00Z","updated_at":"2015-11-13T04:08:54Z","due_on":null,"closed_at":null},"comments":9,"created_at":"2015-11-04T16:02:53Z","updated_at":"2015-12-12T00:33:22Z","closed_at":null,"body":"I'm running into maximum call stack problems when trying to get large number of paths (139644 to be exact) from the database.\r\n\r\nI'm using simple `db.query(q).then(...)` code for querying. This works great with over 80000 records but it seems 139000 is a bit much. I can't chop up the query into smaller pieces and in any case I should be able to get this amount of records from the database. Anybody know how to deal with this?\r\n\r\n```\r\n/Dev/Main/node_modules/orientjs/lib/transport/binary/protocol28/operation.js:773\r\n        this.readOps.push.apply(this.readOps, remainingOps);\r\n                          ^\r\nRangeError: Maximum call stack size exceeded\r\n    at null.<anonymous> (/Dev/Main/node_modules/orientjs/lib/transport/binary/protocol28/operation.js:773:27)\r\n    at Operation.parseString (/Dev/Main/node_modules/orientjs/lib/transport/binary/protocol28/operation.js:694:12)\r\n    at Operation.consume (/Dev/Main/node_modules/orientjs/lib/transport/binary/protocol28/operation.js:469:35)\r\n    at Connection.process (/Dev/Main/node_modules/orientjs/lib/transport/binary/connection.js:380:17)\r\n    at Connection.handleSocketData (/Dev/Main/node_modules/orientjs/lib/transport/binary/connection.js:281:17)\r\n    at Socket.emit (events.js:95:17)\r\n    at Socket.<anonymous> (_stream_readable.js:765:14)\r\n    at Socket.emit (events.js:92:17)\r\n    at emitReadable_ (_stream_readable.js:427:10)\r\n    at emitReadable (_stream_readable.js:423:5)\r\n    at readableAddChunk (_stream_readable.js:166:9)\r\n    at Socket.Readable.push (_stream_readable.js:128:10)\r\n    at TCP.onread (net.js:529:21)\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/orientechnologies/orientjs/issues/comments/164089203","html_url":"https://github.com/orientechnologies/orientjs/issues/116#issuecomment-164089203","issue_url":"https://api.github.com/repos/orientechnologies/orientjs/issues/116","id":164089203,"user":{"login":"kurtcorbett","id":7966496,"avatar_url":"https://avatars.githubusercontent.com/u/7966496?v=3","gravatar_id":"","url":"https://api.github.com/users/kurtcorbett","html_url":"https://github.com/kurtcorbett","followers_url":"https://api.github.com/users/kurtcorbett/followers","following_url":"https://api.github.com/users/kurtcorbett/following{/other_user}","gists_url":"https://api.github.com/users/kurtcorbett/gists{/gist_id}","starred_url":"https://api.github.com/users/kurtcorbett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kurtcorbett/subscriptions","organizations_url":"https://api.github.com/users/kurtcorbett/orgs","repos_url":"https://api.github.com/users/kurtcorbett/repos","events_url":"https://api.github.com/users/kurtcorbett/events{/privacy}","received_events_url":"https://api.github.com/users/kurtcorbett/received_events","type":"User","site_admin":false},"created_at":"2015-12-12T00:33:22Z","updated_at":"2015-12-12T00:33:22Z","body":"+1 for streaming support"}}