Skip to content
This repository has been archived by the owner on Jan 13, 2024. It is now read-only.

out of memory #76

Closed
jbdemonte opened this issue May 6, 2017 · 4 comments
Closed

out of memory #76

jbdemonte opened this issue May 6, 2017 · 4 comments

Comments

@jbdemonte
Copy link

Trying to pack this project https://github.com/jbdemonte/Retro-Manager with this commande:

pkg package.json --options expose-gc --targets node7-linux-armv7 --out-dir build

I'm getting this error:

FATAL ERROR: Malloced operator new Allocation failed - process out of memory

Error! Error: /home/pi/.pkg-cache/v1.9/fetched-v7.6.0-linux-armv7 failed with code null
at ChildProcess. (/usr/lib/node_modules/pkg/lib-es5/producer.js:39:25)
at emitTwo (events.js:106:13)
at ChildProcess.emit (events.js:194:7)
at maybeClose (internal/child_process.js:899:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)

@firrae
Copy link

firrae commented May 8, 2017

Can I ask what you are building on? (platform, hardware, os?)

@jbdemonte
Copy link
Author

On a raspberry

@igorklopov
Copy link
Contributor

To be solved by pkg@3.1

@igorklopov
Copy link
Contributor

Pkg@4 consumes much less memory at compilation stage. Please try.

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

No branches or pull requests

3 participants