Github user StephanEwen commented on the issue:
https://github.com/apache/flink/pull/5205
I think you can test the `MemoryManager` by simply setting pre-allocation
to false and calling the method to compute the memory size.
For the other two, not sure how to best do that...---
