Javadoc
The maximum number of window events to keep in memory. This is meaningful only if
#withPersistence() is also set. As the
number of events in memory grows close to the maximum, the events that are less likely to be used again are evicted and persisted.
The default value for this is
1,000,000.