Skip to content
This repository has been archived by the owner on Dec 16, 2023. It is now read-only.

ENOMEM when running node passbook #18

Open
radioverve opened this issue Jul 22, 2014 · 1 comment
Open

ENOMEM when running node passbook #18

radioverve opened this issue Jul 22, 2014 · 1 comment

Comments

@radioverve
Copy link

Hey,

When running node passbook on all incoming transactions on a queue, i find the following error after about the 10th passbook is created. Is there something i need to do when running this at scale?

I am
Error: spawn ENOMEM
at errnoException (child_process.js:1000:11)
at ChildProcess.spawn (child_process.js:947:11)
at exports.spawn (child_process.js:735:9)
at exports.execFile (child_process.js:617:15)
at signManifest (/home/ubuntu/insider-master-queue/node_modules/passbook/lib/pass.js:352:14)
at Pass.signZip (/home/ubuntu/insider-master-queue/node_modules/passbook/lib/pass.js:331:3)
at doneWithImages (/home/ubuntu/insider-master-queue/node_modules/passbook/lib/pass.js:258:12)
at IncomingMessage. (/home/ubuntu/insider-master-queue/node_modules/passbook/lib/pass.js:248:9)
at IncomingMessage.emit (events.js:117:20)

@assaf
Copy link
Owner

assaf commented Jul 22, 2014

Your node processes eat up memory, so either more memory, don't fork or serialized the jobs.

On Mon, Jul 21, 2014 at 9:40 PM, Shreyas notifications@github.com wrote:

Hey,
When running node passbook on all incoming transactions on a queue, i find the following error after about the 10th passbook is created. Is there something i need to do when running this at scale?
I am
Error: spawn ENOMEM
at errnoException (child_process.js:1000:11)
at ChildProcess.spawn (child_process.js:947:11)
at exports.spawn (child_process.js:735:9)
at exports.execFile (child_process.js:617:15)
at signManifest (/home/ubuntu/insider-master-queue/node_modules/passbook/lib/pass.js:352:14)
at Pass.signZip (/home/ubuntu/insider-master-queue/node_modules/passbook/lib/pass.js:331:3)
at doneWithImages (/home/ubuntu/insider-master-queue/node_modules/passbook/lib/pass.js:258:12)
at IncomingMessage. (/home/ubuntu/insider-master-queue/node_modules/passbook/lib/pass.js:248:9)

at IncomingMessage.emit (events.js:117:20)

Reply to this email directly or view it on GitHub:
#18

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

No branches or pull requests

2 participants