tillrohrmann commented on a change in pull request #11408: 
[FLINK-15989][FLINK-16225] Improve direct and metaspace out-of-memory error 
handling
URL: https://github.com/apache/flink/pull/11408#discussion_r395646139
 
 

 ##########
 File path: 
flink-tests/src/test/java/org/apache/flink/runtime/util/ExceptionUtilsITCases.java
 ##########
 @@ -42,31 +45,83 @@
  * Tests for {@link  ExceptionUtils} which require to spawn JVM process and 
set JVM memory args.
  */
 public class ExceptionUtilsITCases {
+       private static final int DIRECT_MEMORY_SIZE = 1 << 20; // 128Mb
 
 Review comment:
   Can we make this size smaller?

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to