tillrohrmann commented on a change in pull request #10921: [FLINK-15692][state
backend] Enable limiting RocksDB memory consumption by default
URL: https://github.com/apache/flink/pull/10921#discussion_r369582478
##########
File path:
flink-runtime/src/test/java/org/apache/flink/runtime/operators/testutils/MockEnvironment.java
##########
@@ -145,8 +147,8 @@ protected MockEnvironment(
this.inputs = new LinkedList<InputGate>();
this.outputs = new LinkedList<ResultPartitionWriter>();
- this.memManager =
MemoryManagerBuilder.newBuilder().setMemorySize(memorySize).build();
- this.ioManager = new IOManagerAsync();
+ this.memManager =
MemoryManagerBuilder.newBuilder().setMemorySize(MemoryType.OFF_HEAP,
memorySize).build();
Review comment:
```suggestion
this.memManager =
MemoryManagerBuilder.newBuilder().setMemorySize(MemoryType.OFF_HEAP,
offHeapMemorySize).build();
```
----------------------------------------------------------------
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