title: "Process out of memory" error after installing node from source
body: <p>I'm trying to install NodeJS on shared hosting. I downloaded the source from </p>
  
  <p><a href="https://nodejs.org/en/download/" rel="nofollow noreferrer">https://nodejs.org/en/download/</a></p>
  
  <p>and followed the usual install procedure with <code>./config --prefix="$HOME/local"</code>.</p>
  
  <p>It compiles without error. However, when I try to run it, I get the following error:</p>
  
  <pre><code>installing /kunden/homepages/32/d690510543/htdocs/local/include/node/zconf.h
  installing /kunden/homepages/32/d690510543/htdocs/local/include/node/zlib.h
  (uiserver):xxxxxxxx:~/node-v8.11.2$ which node
  /kunden/homepages/32/d690510543/htdocs/local/bin/node
  (uiserver):xxxxxxxx:~/node-v8.11.2$ node
  
  
  #
  # Fatal error in , line 0
  # API fatal error handler returned after process out of memory
  #
  Illegal instruction
  </code></pre>
  
  <p>However, I can get the version</p>
  
  <pre><code>$ node -v
  v8.11.2
  </code></pre>
  
  <p>and help.</p>
  
  <p>Nevertheless, I can't run a script</p>
  
  <pre><code>(uiserver):xxxxxxxx:~$ cat hello.js
  var http = require('http');
  http.createServer(function (req, res) {
          res.writeHead(200, {'Content-Type': 'text/plain'});
          res.end('Hello World\n');
          }).listen(1337, "127.0.0.1");
  console.log('Server running at http://127.0.0.1:1337/');
  (uiserver):xxxxxxxx:~$ node hello.js
  
  
  #
  # Fatal error in , line 0
  # API fatal error handler returned after process out of memory
  #
  Illegal instruction
  </code></pre>
  
  <p>Nor can I enter the REPL:</p>
  
  <p>(uiserver):xxxxxxxx:~$ node -i</p>
  
  <p>#</p>
  
  <h1>Fatal error in , line 0</h1>
  
  <h1>API fatal error handler returned after process out of memory</h1>
  
  <p>#
  Illegal instruction</p>