title: Allowed memory size exhausted in Symfony 3.3
body: <p>On my production server with the following configuration:</p>
  
  <ul>
  <li>Nginx</li>
  <li>phpfpm-7.0</li>
  <li>List item</li>
  </ul>
  
  <p>Symfony3.3</p>
  
  <p>I still receive 500 error while targeting home page with the following error in my phpFpm error logs acceding the app.php page:</p>
  
  <pre><code>[error] 16800#16800: *9 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Allowed memory size of 2097152 bytes exhausted (tried to allocate 4096 bytes) in .../vendor/composer/autoload_static.php on line 4248" while reading response header from upstream, client: XXXXXXXX, server: _, request: "GET /app.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php7.0-fpm.sock:", host: "XXXXXXX"
  </code></pre>
  
  <p>I tried to increase the memory_limit param in those locations without any change:</p>
  
  <ul>
  <li>/etc/php/7.0/fpm/php.ini</li>
  <li>/etc/php/7.0/fpm/php-fpm.conf</li>
  <li>/etc/php/7.0/fpm/pool.d/www.conf</li>
  <li>/etc/php/7.0/cli/php.ini</li>
  </ul>
  
  <p>Do you have any idea where could it come from?</p>