The idea is to somehow get a better stack trace from when "PHP Fatal error:  Allowed memory size of X bytes exhausted" occurs from Zend/Db/Statement/Pdo.php.