title: Why do I get a Fatal Error out of memory in Magento?
body: <p>Often when I try to add something to my cart or try to checkout I get the following error:</p>
  <pre><code>Fatal error: Out of memory (allocated 247463936) (tried to allocate 261900 bytes) in /home/users/domain/domain.com/webshop/lib/Zend/Db/Select.php on line 421
  </code></pre>
  <p>This only just started today on two Magento webshops I'm working on.</p>
  <p>I've done some research on the error - the memory_limit in .htaccess of Magento was already set to 256M. I've tried commenting this out and keeping it on and also been checking out the php_info(); function and this says that memory_limit is set to 256M.</p>
  <p>This error is getting quite frustrating so help would be appreciated.</p>