Page Created :
ODExSITE :
Controlling ODE's Memory Footprint
Controlling ODE's Memory Footprint has been created by Matthieu Riou (Feb 06, 2007). Content:RationalIn most ODE deployments, processes are only used once in a while and the time between each solicitation can be pretty long with respect to the actual execution time. However the default behavior for the engine is to load all processes permanently in memory, including their definition. For environments where memory is scarce or where a large number of processes are deployed, this isn't suitable. ODE implements two mechanisms in order to reduce the memory footprint of the engine to the strict minimum:
Activating Dehydration PolicyIn the Axis2 integration layer, activation of the policy can be done by setting the following property on the ode-axis2.properties located in the WEB-INF/conf directory of ODE's web application: ode-axis2.process.dehydration=true The default configuration is to dehydrate processes that haven't been used for 20mn or after the maximum of 1000 process definitions in memory is reached. Dehydration Policy at IL LevelThe default hydration policy is implemented in CountLRUDehydrationPolicy Alternatively an alternate dehydration policy can be used by implementing the DehydrationPolicy |
Unsubscribe or edit your notifications preferences