You can define the minimum time a ruleset stays in memory by setting the value of the
ruleset.maxIdleTime ruleset property in the Rule Execution Server console.
Procedure
- Open the Rule Execution Server console.
- Click the Explorer tab.
- From the RuleApps View, navigate to
the ruleset.
- In the Ruleset View, click Add
Property and set the ruleset.maxIdleTime property
to -1, 0, or to a number of seconds
greater than 0.
Important: - Use the 0 value with caution because it might introduce a significant
memory leak if the ruleset is never used.
- If you set the ruleset.maxIdleTime property to a positive value (>=
0), make sure that rulesets are monitored. For this purpose, two conditions must be met:
the maintenance task of the ruleset cache must be enabled and the
rulesetUsageMonitorEnabled XU property must be set to true
(its default value). If it is not, use the administration console of your application server to set
the property to true. See Enabling ruleset monitoring.
- Click Add.