temafey
temafey
it's only example, this function return nothing, that means after finish all memory that was use by this function should be free, but we have memory leak
the same problem with Phalcon\Mvc\Model::find(), it is very sadly
``` php unset($row); ``` it's not help
php 5.6.3 phalcon Version => 2.0.0b Powered by Zephir => Version 0.5.9a ``` php foreach ($array as $val) { $model = new \My\Model(); $model->setReadConnectionService($modelAdapter); $model->find(); } ``` "PHP Fatal error:...
In the table 700 rows, Fatal error on the ~2000 iteration, so that means that phalcon still caching
so ok, more details, I use my own strong logic, with sharding module and in backend process (cron) I update search index, so on one of step I have query...