title: Composer: PHP Fatal error: Out of memory || Setting memory_limit doesn't work
body: <p>When I'm trying to install a new bundle with composer, I'm always running into this problem:</p>
  <pre><code>PHP Fatal error:  Out of memory (allocated 1690828800) (tried to allocate 268435456 bytes) in phar://C:/.../composer.phar/src/Composer/DependencyResolver/Solver.php on line 220
  
  Fatal error: Out of memory (allocated 1690828800) (tried to allocate 268435456 bytes) in phar://C:/.../composer.phar/src/Composer/DependencyResolver/Solver.php on line 220
  </code></pre>
  <p>I tried to raise the memory limit in php.ini and started a whole new project with fresh composer. I should have enough memory on my machine.</p>
  <p><strong>Update:</strong></p>
  <p>When encountering this problem, also bear in mind that if you change parameters in your PHP.ini, that you've to change them for your PHP CLI. I often forgot that and just changed the php.ini for the version my apache is using...</p>