[jboss-jira] [JBoss JIRA] (DROOLS-2409) Memory Leak in sliding window

Mario Fusco (JIRA) issues at jboss.org
Thu Mar 22 10:13:03 EDT 2018


    [ https://issues.jboss.org/browse/DROOLS-2409?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13549837#comment-13549837 ] 

Mario Fusco commented on DROOLS-2409:
-------------------------------------

If your need to process batches in that way, probably you don't want to use a fireUntilHalt, but issue a fireAllRules at the end of each batch insertion.

> 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)


More information about the jboss-jira mailing list