Memory limits

Hi all.

I tried to findAll() large number of records and got

I need them all for export to csv file.

Is there a good way to fetch all the data sequentially, part by part?

I can use loop and limit/offset, but first I wish to know if there is any other ‘built-in’ solution.

Try disabling YII_DEBUG. Additionally you may look here, or if you can’t solve the problem you may use DAO for now.

Ok, thanks.