title: Allowed memory size of 805306368 bytes exhausted (tried to allocate 20480 bytes) in GenericHeader.php line 54. Magento2.3
body: <p>I am using magento 2.3 on ubuntu 18 and everything was working properly before reinstallation.</p>
  
  <p>I was installing ubuntu again so I have saved my project to be able to move it later to new operational system after installation is done. Magento application is working but now I am getting <strong>this error:</strong></p>
  
  <blockquote>
    <p>[php7:error] [pid 4358] PHP Fatal error:  Allowed memory size of 805306368 bytes exhausted (tried to allocate 20480 bytes) in
    /vendor/zendframework/zend-http/src/Header/GenericHeader.php on line
    54</p>
  </blockquote>
  
  <p>When I go to logout or after placing order on checkout the blank screen appears and in error log this line is shown.</p>
  
  <p>I have tried to increase memory limit to 5000M but it doesnt matter how much memory limit I increase it will show again. Tried to use phpinfo() to check if memory limit is increased and it is but error still appears.</p>