0

I have a problem about WSO2 CEP. Please advice or fix this problem.

Environment is below.
1) CEP version is 2.1.0.
2) TimeBatch Window and patterns query is used.

from RootStream#window.timeBatch(10000)
insert into AvgOneStream avg(watt) as avgOne


from every one = AvgOneStream[avgOne >= 10] ->
     two = AvgTwoStream[avgTwo >= 220] ->
     three = AvgThreeStream[avgThree >= 440]
within 10000
insert into Stream one.avgOne as avgOne, two.avgTwo as avgTwo, three.avgThree as avgThree

Problem is below.
1) Out of memory occurs.
2) Number of threads is increased.

Thank you in advance.

1 Answers1

0

This was a known bug in the time windows in CEP version 2.1.0 and a fix was previously mentioned on StackOverflow here.

In newer versions of CEP (3.0.0 onwards), this is fixed.

Community
  • 1
  • 1
Rajeev Sampath
  • 2,739
  • 1
  • 16
  • 19