Retrieving the execution unit (XU) memory usage
After you configure the XU memory profiler, you can use it to learn how much memory the execution unit uses for a ruleset.
Before you begin
Before you can retrieve information about memory usage,
you must configure the memory profiler:
- Make sure that the rulesetUsageMonitorEnabled property is set to true (its default value). See Enabling ruleset monitoring.
- Install the Rule Execution Server Java™ agent.
About this task
Then, you can retrieve profiling information in either
of two ways:
- From the XU memory dump in the Rule Execution Server console: if you experience memory issues with ruleset execution, you can enable the memory profiler before you send the XU memory dump to IBM Support.
- By using the API as explained in step 1.
Tip: When the memory profiler is enabled, execution
performance might be reduced. To avoid this problem, disable the memory
profiler in production mode and enable it only to investigate memory
issues.
Procedure
To retrieve XU memory usage by using the API: