title: Don't have enough memory to build phantom.js - what to do?
body: <p>I am trying to compile phantom.js on VPS server (1Gb RAM). Build process generates an error (persistently):</p>
  
  <pre><code>obj/svg/SVGAllInOne.o svg/SVGAllInOne.cpp
  {standard input}: Assembler messages:
  {standard input}:168320: Warning: end of file not at end of a line;         
  newline inserted
  {standard input}: Error: open CFI at the end of file; missing              
  .cfi_endproc directive
  g++: internal compiler error: Killed (program cc1plus)
  </code></pre>
  
  <p>I found problem with the same file here <a href="http://forum.qt.io/topic/22672/g-crash-when-compiling-qt5" rel="nofollow">http://forum.qt.io/topic/22672/g-crash-when-compiling-qt5</a>. People say there: not enough memory.</p>
  
  <p>What can I do in this situation? Information on Phantom.js site says that it should be build from source. </p>
  
  <p>Addition: it's definitely out of memory situation cause I just got message from provider saying that server run out of memory. </p>