Hello,
I have created a statistical filter, which in turn contains 5 different combined statistics.
If I want to use the filter I get the following error message:
Application Log:
INFO [ACTIVITY]: Complex Filter - 52 Kombi1706-1710 - apply - 52 Kombi1706-1710: All must pass on 204.205 tickets in the Package
INFO [com.expertlotto.filtering.impl.AbstractFilterExecutor]: Error during filtering.
java.lang.OutOfMemoryError: Map failed
at sun.nio.ch.FileChannelImpl.map0(Native Method)
Caused: java.io.IOException: Map failed
at sun.nio.ch.FileChannelImpl.map(Unknown Source)
at com.expertlotto.stats.impl.counter.MemMapIntervalCounterImpl.<init>(MemMapIntervalCounterImpl.java:75)
at com.expertlotto.stats.impl.counter.IntervalCounter$1.createCounter(IntervalCounter.java:209)
at com.expertlotto.stats.api.IndexAnalyzer.createCounters(IndexAnalyzer.java:152)
at com.expertlotto.stats.api.IndexAnalyzer.prepare(IndexAnalyzer.java:131)
at com.expertlotto.stats.impl.filter.FilterImpl.analyzeDraws(FilterImpl.java:222)
at com.expertlotto.stats.impl.filter.FilterImpl.prepare(FilterImpl.java:118)
at com.expertlotto.stats.impl.filter.StatsTicketFilter.prepare(StatsTicketFilter.java:47)
at com.expertlotto.filtering.api.WnTicketFilter.prepare(WnTicketFilter.java:55)
at com.expertlotto.filtering.complex.InvertedTicketFilter.prepare(InvertedTicketFilter.java:52)
at com.expertlotto.filtering.complex.GroupFilter.prepare(GroupFilter.java:92)
[catch] at com.expertlotto.filtering.impl.ApplyFilterRunner.run(ApplyFilterRunner.java:95)
at java.lang.Thread.run(Unknown Source)
INFO [com.expertlotto.filtering.impl.AbstractFilterExecutor]: Error during filtering.
java.lang.NullPointerException
at com.expertlotto.stats.api.ApiAccessorImpl.getDrawAccessor(ApiAccessorImpl.java:66)
at com.expertlotto.stats.impl.filter.FilterImpl.prepare(FilterImpl.java:135)
at com.expertlotto.stats.impl.filter.StatsTicketFilter.prepare(StatsTicketFilter.java:47)
at com.expertlotto.filtering.api.WnTicketFilter.prepare(WnTicketFilter.java:55)
at com.expertlotto.filtering.complex.InvertedTicketFilter.prepare(InvertedTicketFilter.java:52)
at com.expertlotto.filtering.complex.GroupFilter.prepare(GroupFilter.java:92)
[catch] at com.expertlotto.filtering.impl.ApplyFilterRunner.run(ApplyFilterRunner.java:95)
at java.lang.Thread.run(Unknown Source)
INFO [ACTIVITY]: Complex Filter - 52 Kombi1706-1710 - accepted 0 tickets (52 Kombi1706-1710: All must pass)
INFO [performance]: Filtering speed: 0/s (0:00:04)
If I use the Combined Statistic individually, each filter works (# 1706, 1707, ...) !!
I have many such statistical filters which all work.
Where can the error occur with the above filter?