Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.2
-
None
Description
In the event a process is marked for retirement, a best-effort must be made to release all of its resources from memory. Currently, a retired process stays in memory forever. As a result, the memory footprint of a process rises monotonically with each successive deployment, even if previous versions are retired.
The object models that dominate a process' footprint are those of BPEL, which is managed by ODE, and WSDL, which is managed by Axis2. To expedite garbage collection of the BPEL graph, we must try to recursively clear the entire tree that is rooted underneath the OProcess object. To facilitate garbage collection of the WSDL forest, we must release the schema list and definition for every AxisService that the process provides.