[
https://issues.jboss.org/browse/DROOLS-2409?page=com.atlassian.jira.plugi...
]
Srinivas ev edited comment on DROOLS-2409 at 9/18/18 9:36 AM:
--------------------------------------------------------------
Hi Mario,
For your comment -
> The problem there is that inserting events in a so tight loop has
the effect of overwhelming the engine not giving it a chance of getting any job done.
I have a similar case where in my application, the load may go up to 100 events per second
and there will be a possibility of getting the same load for long hours. As per your
statement regarding overwhelming the engine, the engine may fail to execute the rules for
incoming events or eviction.
What solutions I can assume for this problem. When I did the experiment last time for my
project, I observed drools engine at some stage(when the number of events in drools
stateful session crossed ~20 lakh) consuming all the events into it without performing any
operation regarding rule evaluations/persistence timers execution( for example).
I can share the reproducer in case needed. Thanks,
was (Author: ev.srinivas):
Hi Mario,
For your comment -
> The problem there is that inserting events in a so tight loop has
the effect of overwhelming the engine not giving it a chance of getting any job done.
I have a similar case where in my application, the load may go up to 100 events per second
and there will be a possibility of getting the same load for long hours. As per your
statement regarding overwhelming the engine, the engine may fail to execute the rules for
incoming events or eviction.
What solutions I can assume for this problem. When I did the experiment last time for my
project, I observed drools engine consuming all the events into it without performing any
operation regarding rule evaluations/persistence timers execution( for example).
I can share the reproducer in case needed. Thanks,
Memory Leak in sliding window
-----------------------------
Key: DROOLS-2409
URL:
https://issues.jboss.org/browse/DROOLS-2409
Project: Drools
Issue Type: Feature Request
Components: core engine
Affects Versions: 7.6.0.Final
Environment: Mac with Java 1.8 using Spring Boot (see attached demo project)
Reporter: Mike Baranski
Assignee: Mario Fusco
Priority: Critical
Attachments: complete.tar.gz
See attached project.
`gradle test` causes an out of memory exception on my machine after ~2.6 million events.
Events should be released for GC after 1 second, but that does not appear to be happening.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)