-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
7.34.0.Final
-
None
-
-
NEW
-
NEW
I could not find an out-of-the-box mechanism in Drools for stopping loops induced by backward chaining. I've found some research e.g., Avoiding Infinite Loops in Rule-Based Systems with Backward Chaining, indicating this is a recurring problem.
When undeterred, these loops cause an OutOfMemoryError.
I've already tried to:
- Find configuration options in Drools to limit the behavior, but apparently there are't any;
- Step through the code, trying to find ways to break the recursive behavior;
- Change my rules to check for possible loops but that resulted either in partial facts being added to working memory (WM) or computationally expensive logic.