[jboss-jira] [JBoss JIRA] Created: (JBRULES-2862) fusion not evicting events from memory when it should

Radai Rosenblatt (JIRA) jira-events at lists.jboss.org
Tue Jan 4 10:21:19 EST 2011


fusion not evicting events from memory when it should
-----------------------------------------------------

                 Key: JBRULES-2862
                 URL: https://issues.jboss.org/browse/JBRULES-2862
             Project: Drools
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: drools-core (fusion)
    Affects Versions: 5.1.1.FINAL
         Environment: windows xp, JDK 6u21
            Reporter: Radai Rosenblatt
            Assignee: Mark Proctor


using the following declaration:

declare Event
    @role( event )
    @duration ( duration )
    @timestamp( finished )
end

when writing the following rule:

rule "Match Any Two Events In Window"
when
    $eventOne : Event() over window:time( 3d ) from entry-point "Event Stream"
    $eventTwo : Event() over window:time( 3d ) from entry-point "Event Stream"
then
    //nothing
end

and simulating a long run (longer than 3 days), old events (older than 3 days) are not evicted from memory. however, dropping the $eventTwo line entirely evicts events from memory properly

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list