title: Composer Update failed -- out of memory
body: <p>I got this error when running <code>composer.phar update</code> on my VM:</p>
  
  <blockquote>
    <p>PHP Fatal error:  Allowed memory size of 1073741824 bytes exhausted (tried to allocate 144115188075867549 bytes) in phar:///bin/composer.phar/src/Composer/Util/RemoteFilesystem.php on line 179</p>
  </blockquote>
  
  <p>The <code>composer.json</code>, if needed:</p>
  
  <pre><code>{
          "description" : "The CodeIgniter framework",
          "name" : "codeigniter/framework",
          "license": "MIT",
          "require": {
                  "php": "&gt;=5.2.4",
                  "videlalvaro/php-amqplib": "2.5.*"
          },
          "require-dev": {
                  "mikey179/vfsStream": "1.1.*",
                  "videlalvaro/php-amqplib": "2.5.*"
          }
  }
  </code></pre>
  
  <p>The VM just recently recovered from a bad disk sector problem, and the guy running the VM said that the VM has been moved to a new disk. There are only Java, PHP, httpd, postgre, rabbitmq and the website itself in my VM, and it already ran perfectly for about 4 months before this happened. I'm using PHP 5.6.11. Can anyone help please?</p>