beliefer commented on code in PR #26321:
URL: https://github.com/apache/flink/pull/26321#discussion_r2004741073


##########
flink-runtime/src/main/java/org/apache/flink/streaming/api/windowing/assigners/SlidingEventTimeWindows.java:
##########
@@ -59,6 +59,11 @@ protected SlidingEventTimeWindows(long size, long slide, 
long offset) {
                     "SlidingEventTimeWindows parameters must satisfy "
                             + "abs(offset) < slide and size > 0");
         }
+        if (size / slide > 10000000) {

Review Comment:
   I have already added the config.
   
   - It is related the JVM heap.
   - `SlidingEventTimeWindows` is an open API users could set the parameters of 
the constructor arbitrarily. 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to