So glad for your help, many thanks.
I'm using the method cache_in_memory_gzip now, and the memory usage is reduced 1/2 more, but accordingly, the speed reduced too :)
I know this is not the best solution, or I can split the excel file into more smaller pieces.
What I'm still confused is, I created the PHPExcel object in a function, as a local class instance, It should automatically destructed and release it's memory as soon as the function returned. But I could see the memory usage is still keep at the top value. How can I free all the memory used by the destroyed instance?
Regards,
Dany.
I'm using the method cache_in_memory_gzip now, and the memory usage is reduced 1/2 more, but accordingly, the speed reduced too :)
I know this is not the best solution, or I can split the excel file into more smaller pieces.
What I'm still confused is, I created the PHPExcel object in a function, as a local class instance, It should automatically destructed and release it's memory as soon as the function returned. But I could see the memory usage is still keep at the top value. How can I free all the memory used by the destroyed instance?
Regards,
Dany.