[jboss-jira] [JBoss JIRA] (DROOLS-263) Possible memory leak insliding temporal windows

Tibor Zimányi (JIRA) issues at jboss.org
Thu Apr 6 11:00:00 EDT 2017


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

Tibor Zimányi commented on DROOLS-263:
--------------------------------------

Is this still relevant? If not, we should probably close this. 

> Possible memory leak insliding  temporal windows
> ------------------------------------------------
>
>                 Key: DROOLS-263
>                 URL: https://issues.jboss.org/browse/DROOLS-263
>             Project: Drools
>          Issue Type: Bug
>    Affects Versions: 5.5.0.Final
>            Reporter: Davide Sottara
>            Assignee: Mark Proctor
>            Priority: Blocker
>
> When an event is asserted and a temporal window is present, it will be cached in the window's memory and then propagated (usually to an accumulate) by a propagationQuquingNode.
> If the even expires before it participates in a tuple (in a multi-threading environment), the WM retraction will not reach the window node due to the lack of tuples. BUT,  it will set the fact handle's ID to -1
> When the fact is considered for expiration from the sliding window, its changed ID will 1) disrupt the local event queue and 2) prevent it from being removed from the node memory.
> Memory leaks and NPEs will arise randomly



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)



More information about the jboss-jira mailing list