Hi,
We have an
drools 5.0.1 application that uses StatelessSession and high volume of objects
(facts) that we need to apply static rules on, and having out of memory
issues doing so. We added the following three properties as given in the drools
documentation for decreasing the memory usage:
drools.shadowproxy=false
drools.maintainTms=false
drools.sequential=true
As per the
following blog, there is an algorithm to minimize the engine work, and memory
usage.
Are the properties
above sufficient to trigger this algorithm, or do we need to do write extra code
for this?
Also, does the "drools.sequential" property make sure that rules are
applied sequentially on facts? If so, is there a hook into the
drools engine to figure out which particular rule is consuming more memory or
having more execution time?
Thanks in
advance.
Malay Shah