title: PHP: Allowed memory size of ... bytes exhausted
body: <p>I'm trying to run <code>artisan make:controller</code>.</p>
  
  <p>I'm getting an issue with: </p>
  
  <pre class="lang-none prettyprint-override"><code>PHP Fatal error:  Allowed memory size of
  </code></pre>
  
  <p>I tried to increase size of <code>memory-limit</code> but it didn't work. I tried larger values and -1. This does not seem to be the best option. It seems I may  have a memory leak, but I don't know how to find it. Does it have something to do with garbage collection?</p>
  
  <p>I'm not able to run <code>artisan</code> code but getting: </p>
  
  <pre class="lang-none prettyprint-override"><code>PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted  
  (tried to allocate 65536 bytes) in \laravel\vendor\laravel\framework\src\Illuminate\Console\GeneratorCommand.php on line 85  
  PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted  
  (tried to allocate 65536 bytes) in \laravel\vendor\laravel\framework\src\Illuminate\Support\Manager.php on line 85  
  </code></pre>