Open Power Template 2.x family
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!
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
Attached to Project:
Open Power Template
Opened by Zyx (Zyx) - Sunday, 18 January 2009, 06:19 GMT-8
Last edited by Zyx (Zyx) - Saturday, 28 February 2009, 03:13 GMT-8
Opened by Zyx (Zyx) - Sunday, 18 January 2009, 06:19 GMT-8
Last edited by Zyx (Zyx) - Saturday, 28 February 2009, 03:13 GMT-8
|
DetailsDue 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.
Tasks: - 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. |
This task depends upon
Closed by Zyx (Zyx)
Saturday, 28 February 2009, 03:13 GMT-8
Reason for closing: Fixed
Additional comments about closing: Fixed in rev. 60
Saturday, 28 February 2009, 03:13 GMT-8
Reason for closing: Fixed
Additional comments about closing: Fixed in rev. 60
Comment by Zyx (Zyx) -
Tuesday, 10 February 2009, 06:15 GMT-8
Status changed to "Requires testing" according to the revision #49.