title: Symfony2 allowed memory exhausted when calling php app/console doctrine:schema:update
body: <p>I have a big problem...</p>
  
  <p>I want to update the schema of my database and I have a problem.</p>
  
  <p>When I a running this script:</p>
  
  <pre><code>php app/console doctrine:schema:update --dump-sql
  </code></pre>
  
  <p>I have this error:</p>
  
  <pre><code>Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 32 bytes) in /Applications/MAMP/htdocs/myApp/vendor/doctrine/lib/Doctrine/ORM/Tools/SchemaTool.php on line 509
  </code></pre>
  
  <p>I have tried to increase memory_limit in <strong>php.ini</strong> but nothing works.</p>
  
  <p>I have ran the <code>php app/console cache:clear</code> but it does nothing. <strong>Still the same problem</strong>...</p>
  
  <p>Please help...</p>
  
  <p>I can't do nothing...</p>