Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Compiler is out of heap space on npm install #16

@andymartinwork

Description

@andymartinwork

I've never seen an error like this before. This happens on a windows 8 machine. Seems to work on my Windows 10 machine without problem.

I have found a similar problem with the nan module here: TooTallNate/node-weak#74

npm install [email protected]

> [email protected] install C:\Users\wimp\bamboo-agent-home\xml-data\build-dir\DESKTOP-EL-JOB1\node_modules\nslog
> node-gyp rebuild

C:\Users\wimp\bamboo-agent-home\xml-data\build-dir\DESKTOP-EL-JOB1\node_modules\nslog>if not defined npm_config_node_gyp (node "C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild)  else (node "" rebuild )
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
  main.cc
  nslog_win.cc
C:\Users\wimp\bamboo-agent-home\xml-data\build-dir\DESKTOP-EL-JOB1\node_modules\nan\nan.h(72): fatal error C1060: compiler is out of heap space (..\src\main.cc) [C:\Users\wimp\bamboo-agent-home\xml-data\build-dir\DESKTOP-EL-JOB1\node_modules\nslog\build\nslog.vcxproj]
gyp ERR! build error
gyp ERR! stack Error: `msbuild` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onExit (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\build.js:276:23)
gyp ERR! stack     at emitTwo (events.js:106:13)
gyp ERR! stack     at ChildProcess.emit (events.js:191:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:204:12)
gyp ERR! System Windows_NT 6.3.9600
gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd C:\Users\wimp\bamboo-agent-home\xml-data\build-dir\DESKTOP-EL-JOB1\node_modules\nslog
gyp ERR! node -v v6.3.1
gyp ERR! node-gyp -v v3.3.1
gyp ERR! not ok

npm ERR! Windows_NT 6.3.9600
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "ins
tall"
npm ERR! node v6.3.1
npm ERR! npm  v3.10.3
npm ERR! code ELIFECYCLE

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions