title: phpunit memory_limit parameter does not apply
body: <p>I've just installed phpunit via pear in a mac osx 10.7 and everything works fine except I got memory limit errors (xdebug enabled for reports).</p>
  
  <p>I tried to add the <code>-d memory_limit=512M</code> parameter to phpunit but it is not applying because, on the very first error, I added <code>var_dump(ini_get('memory_limit')); exit;</code> and it prints string(3) "32M"</p>
  
  <p>So, why is it not being applied? </p>
  
  <p>Besides that, if I run </p>
  
  <pre><code>php -d memory_limit=256M -r "echo ini_get('memory_limit');"
  </code></pre>
  
  <p>it echoes "256M"</p>
  
  <p>Is it possible that phpunit is not executing same php?</p>