PLEASE PROVIDE THE TEMPLATES AND/OR PHP CODE IN THE TASK DESCRIPTION (Not URL-s to them). THAT ALLOWS US TO REPRODUCE THE PROBLEM! OTHERWISE WE ARE NOT ABLE TO HELP YOU!
Remember to hide all the security-related pieces of code from the task description, like passwords, server paths etc. for your own safety. Once we close the task, we cannot edit it anymore!
FS#44 - The compiler does not free the memory
Opened by Zyx (Zyx) - Sunday, 18 January 2009, 06:19 GMT-7
Last edited by Zyx (Zyx) - Saturday, 28 February 2009, 03:13 GMT-7
Due to some strange relationships between the objects, the compiler does not remove the XML tree after the compilation. The problem was noticed during the analysis of the debug console reports after compiling multiple templates - they showed the memory leak of about 60 KB after every compilation - the remaining XML tree. Later investigations showed that the trees are freed at the script end.
- Identify all the places in the code, where the references to the free are not removed and cause it to remain in the memory.
- Check the XML tree node destructors.
- Make the XML tree destroyable.
Saturday, 28 February 2009, 03:13 GMT-7
Reason for closing: Fixed
Additional comments about closing: Fixed in rev. 60