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

Channel Play out of memory #131

Open
pavelsc opened this issue Jul 23, 2019 · 0 comments
Open

Channel Play out of memory #131

pavelsc opened this issue Jul 23, 2019 · 0 comments

Comments

@pavelsc
Copy link

pavelsc commented Jul 23, 2019

Hi, I have an issue with channel play function. File exists (95kB) and call.caller is a valid channelId. A channel is in a bridge.

client.channels.play({channelId: call.caller, media: '/mnt/storage/q.wav'}, (err, playback) => {
    if (err) {
        console.log(err);
    }
});

I don't see any lack of memory in htop and in free. Error trace below:

Error: {"message":"Out of memory"}
at SwaggerRequest.swaggerError [as errorCallback] (/var/daemon/node_modules/ari-client/lib/client.js:253:23)
at Object.error (/var/daemon/node_modules/swagger-client/lib/swagger.js:1077:24)
at EventEmitter.error (/var/daemon/node_modules/swagger-client/lib/swagger.js:1296:19)
at emitOne (events.js:116:13)
at EventEmitter.emit (events.js:211:7)
at emit (/var/daemon/node_modules/shred/lib/shred/request.js:454:21)
at /var/daemon/node_modules/shred/lib/shred/request.js:473:9
at setBodyAndFinish (/var/daemon/node_modules/shred/lib/shred/response.js:103:7)
at IncomingMessage. (/var/daemon/node_modules/shred/lib/shred/response.js:120:7)
at emitNone (events.js:111:20)
at IncomingMessage.emit (events.js:208:7)
at endReadableNT (_stream_readable.js:1064:12)
at _combinedTickCallback (internal/process/next_tick.js:139:11)
at process._tickCallback (internal/process/next_tick.js:181:9)

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

No branches or pull requests

1 participant