Improving the performance of the sequential execution mode
You can improve performance of the sequential execution
mode by reducing the memory consumption.
Sequential algorithm
Unlike the RetePlus algorithm, the sequential execution
mode does not provide inference. The sequential algorithm works in
a predictable way only when rules are homogeneous, that is when they
are using the same bindings.
Memory consumption reduction
To reduce memory consumption of the rule engine in sequential
mode, you can use the select and dynamicselect keywords,
the dynamicselect keyword followed by a rule domain,
or remove rule metadata.