Fatal error: Out of memory (allocated 42967040) (tried to allocate 4096 bytes) in /home/jnk/lib/cakephp-2.7.8/lib/Cake/Model/Datasource/Database/Mysql.php on line 232

Fatal error: Out of memory (allocated 42967040) (tried to allocate 20480 bytes) in /home/jnk/lib/cakephp-2.7.8/lib/Cake/Core/App.php on line 901