Error: spawn ENOMEM
See original GitHub issueIssue:
I am getting this error, seemingly at random, after trying to start a stream:
(node:14009) UnhandledPromiseRejectionWarning: Error: spawn ENOMEM
at ChildProcess.spawn (internal/child_process.js:408:11)
at Object.spawn (child_process.js:553:9)
at Function.create (/home/br88c/github/peter/node_modules/prism-media/src/core/FFmpeg.js:155:25)
at new FFmpeg (/home/br88c/github/peter/node_modules/prism-media/src/core/FFmpeg.js:44:27)
at StreamDownloader (/home/br88c/github/peter/node_modules/discord-ytdl-core/index.js:45:24)
at Object.play (/home/br88c/github/peter/src/modules/streamhandler.js:57:22)
at Object.execute (/home/br88c/github/peter/src/commands/play.js:135:27)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
It appears it’s having trouble with starting FFMPEG, but I am unsure of the cause. Normally it works completely fine, then it’ll start throwing this error and will continue to throw this error until I restart my code. Help is greatly appreciated!
Further details:
- Operating System: Debian 10
- Node.js version: 12.20.0
- Commit I’m using: 1.2.3
Issue Analytics
- State:
- Created 3 years ago
- Comments:15 (1 by maintainers)
Top Results From Across the Web
Node.js catch ENOMEM error thrown after spawn
It happens when the server is out of memory and can't be reproduced with a particular image. That makes it hard to test...
Read more >Source control module fails with Error: spawn ENOMEM #63866
ENOMEM means you're out of memory. Do you have limited RAM?
Read more >Build fails with "Error: spawn ENOMEM" - CircleCI Discuss
our angular 7 builds randomly fails with “Error: spawn ENOMEM” It happened a while back (every build), and our solution at the time...
Read more >JavaScript : Node.js catch ENOMEM error thrown after spawn
JavaScript : Node.js catch ENOMEM error thrown after spawn [ Gift : Animated Search Engine : https://bit.ly/AnimSearch ] JavaScript ...
Read more >Bench update error Error: spawn ENOMEM - ERPNext Forum
Hey guys, I am trying to do a bench update and the following errors keeps popping up at different stages of the build...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
A desperate cry for help 😢
What is Amish supposed to do? Download more RAM for you? Like please just move on.