I have to generate an XML file and then send it to the browser to be downloaded
I use XML
class utility that comes with Cakephp 2.9.5
The problem is that when i have a large amount of data (>1000 record) that i get from the database, my script crushs cause of a memory leak.
Do you have any suggestions to avoid this problem ?
Thank you