I have a VERY BIG EXCEL FILE, and need to read it into an php array, then format it using my rules, finnaly I need write the formatted data into a new excel file.
I implemented the action into 3 functions, as I said just now. But the problem is: when I successfully loaded the source excel file, read all data from it, and exit the function, the memory allocated while I load it does not released; then when I try to write the data into a new file, the memory usage doubled! and crached at CacheBase.php!
So I guess the memory is used by the cache system, and not released when the file unloaded. Then I have 2 choices: one is to release all unused cached memory, the second is disable the cache function.
Can you give me some advises?
Regards,
Dany.
I implemented the action into 3 functions, as I said just now. But the problem is: when I successfully loaded the source excel file, read all data from it, and exit the function, the memory allocated while I load it does not released; then when I try to write the data into a new file, the memory usage doubled! and crached at CacheBase.php!
So I guess the memory is used by the cache system, and not released when the file unloaded. Then I have 2 choices: one is to release all unused cached memory, the second is disable the cache function.
Can you give me some advises?
Regards,
Dany.