Pages

When not to put debug info on your production site

Title says it all.
http://outlet.lenovo.com/report/?id=-528847430&s=public
SQLSTATE[HY000]: General error: 5 Out of memory (Needed 25165796 bytes)
Trace:
#0 /chroot/home/lenovoco/lenovo.com/html/lib/Zend/Db/Statement.php(283): Zend_Db_Statement_Pdo->_execute(Array)
#1 /chroot/home/lenovoco/lenovo.com/html/lib/Zend/Db/Adapter/Abstract.php(457): Zend_Db_Statement->execute(Array)
#2 /chroot/home/lenovoco/lenovo.com/html/lib/Zend/Db/Adapter/Pdo/Abstract.php(230): Zend_Db_Adapter_Abstract->query(‘SELECT COUNT(DI…’, Array)
#3 /chroot/home/lenovoco/lenovo.com/html/lib/Varien/Db/Adapter/Pdo/Mysql.php(281): Zend_Db_Adapter_Pdo_Abstract->query(‘SELECT COUNT(DI…’, Array)
#4 /chroot/home/lenovoco/lenovo.com/html/lib/Zend/Db/Adapter/Abstract.php(761): Varien_Db_Adapter_Pdo_Mysql->query(Object(Varien_Db_Select), Array)
#5 /chroot/home/lenovoco/lenovo.com/html/lib/Varien/Data/Collection/Db.php(162): Zend_Db_Adapter_Abstract->fetchOne(Object(Varien_Db_Select), Array)
#6 /chroot/home/lenovoco/lenovo.com/html/lib/Varien/Data/Collection.php(188): Varien_Data_Collection_Db->getSize()
#7 /chroot/home/lenovoco/lenovo.com/html/lib/Varien/Data/Collection.php(174): Varien_Data_Collection->getLastPageNumber()
#8 /chroot/home/lenovoco/lenovo.com/html/app/code/core/Mage/Eav/Model/Entity/Collection/Abstract.php(928): Varien_Data_Collection->getCurPage()
#9 /chroot/home/lenovoco/lenovo.com/html/app/code/core/Mage/Eav/Model/Entity/Collection/Abstract.php(784): Mage_Eav_Model_Entity_Collection_Abstract->_loadEntities(false, false)
#10 /chroot/home/lenovoco/lenovo.com/html/app/code/core/Mage/Catalog/Block/Product/List.php(167): Mage_Eav_Model_Entity_Collection_Abstract->load()
#11 /chroot/home/lenovoco/lenovo.com/html/app/code/core/Mage/Core/Block/Abstract.php(642): Mage_Catalog_Block_Product_List->_beforeToHtml()
#12 /chroot/home/lenovoco/lenovo.com/html/app/code/core/Mage/Core/Block/Abstract.php(503): Mage_Core_Block_Abstract->toHtml()
#13 /chroot/home/lenovoco/lenovo.com/html/app/code/core/Mage/Core/Block/Abstract.php(454): Mage_Core_Block_Abstract->_getChildHtml(‘product_list’, true)
#14 /chroot/home/lenovoco/lenovo.com/html/app/code/core/Mage/Catalog/Block/Category/View.php(81): Mage_Core_Block_Abstract->getChildHtml(‘product_list’)
#15 /chroot/home/lenovoco/lenovo.com/html/app/design/frontend/default/outlet/template/catalog/category/view.phtml(75): Mage_Catalog_Block_Category_View->getProductListHtml()
#16 /chroot/home/lenovoco/lenovo.com/html/app/code/core/Mage/Core/Block/Template.php(144): include(‘/chroot/home/le…’)
#17 [...]