When I run this code in a customer_save_after observer
$customer2 = Mage::getModel('customer/customer')->load(73); try{ $customer2->setDomain(""); $customer2->save(); } catch(exception $e){ Mage::log($e); }
Domain is a custom attribute.
I get the following error:
Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 130968 bytes)
It says the error comes from Zend (Date.php)
Does anyone know where this comes from? The above works fine outside of this observer.
I have set the max_memory in php.ini to 1gb.