Hi Ethan,

For now, my suggestion is that you can set "preallocate" to false. The
description(the link provided by you) of "taskmanager.memory.preallocate"
says:

"When taskmanager.memory.off-heap is set to true, then it is advised that
this configuration is also set to true."

Best,
Vino

Ethan Li <ethanopensou...@gmail.com> 于2019年12月14日周六 上午5:20写道:

> 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
>
> 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