title: Composer update shows mmap() failed: [12] Cannot allocate memory
body: <p>I am trying to update my compose but i get the following error message can anyone tell me what this is.</p>
  
  <pre><code>root@linuxmachine:/var/www/html/# composer update
  Do not run Composer as root/super user! See https://getcomposer.org/root for details
  Loading composer repositories with package information
  Updating dependencies (including require-dev)
  
  mmap() failed: [12] Cannot allocate memory
  
  mmap() failed: [12] Cannot allocate memory
  PHP Fatal error:  Out of memory (allocated 815800320) (tried to allocate 4096 bytes) in phar:///usr/local/bin/composer/src/Composer/DependencyResolver/Solver.php on line 223
  
  Fatal error: Out of memory (allocated 815800320) (tried to allocate 4096 bytes) in phar:///usr/local/bin/composer/src/Composer/DependencyResolver/Solver.php on line 223
  </code></pre>