I have the following setup:
- Zend Framework 1.10.8
- database adapter: pdo_mysql
- memory limit: 128 MB
- table type: myisam
- table size: 4 MB
- number of records: 22.000
- number of columns: aprox. 70
I want to select everything from a table, which should not be a problem:
$table = new Application_Model_DbTable_Foo();
$everything = $table->fetchAll();
In doing this, I run into the "exhausted memory" problem.
I wrote a script using PDO_MYSQL without the Zend Framework, and the memory usage was great, and everything was fine.
So, I have to miss something. Any hint was much appreciated. :-)
source
share