Hi Community,

I have a question about the taskmanager.memory.preallocate config in the doc 
https://ci.apache.org/projects/flink/flink-docs-release-1.8/ops/config.html#taskmanager-memory-preallocate
 
<https://ci.apache.org/projects/flink/flink-docs-release-1.8/ops/config.html#taskmanager-memory-preallocate>

We have large memory box so as it suggested we should use off heap memory for 
flink managed memory. And the doc then suggests to set 
taskmanager.memory.preallocate to true. However,

 "For streaming setups is is highly recommended to set this value to false as 
the core state backends currently do not use the managed memory."


Our flink set up is mainly for streaming jobs so I think the above applies to 
our case. So should I use off-heap with “preallocate" setting to false? What 
would be the impact with these configs?


Thank you very much!


Best,
Ethan

Reply via email to