Hi Tim,

Do you mean the user heap memory used by the tasks of finished jobs is not
freed up? If this is the case,
the memory usage of taskmanger will increase as more and more jobs
finished. However this does not
happen, the memory will be freed up by jvm gc.

BTW, flink has its own memory management strategy, including task
heap/off-heap, framework heap, jvm
overhead and so on. Why do you care about when the memory is freed? I think
it will be done automatically
by flink and jvm.

Best,
Yang

Timothy Victor <vict...@gmail.com> 于2019年10月10日周四 下午7:55写道:

> After a batch job finishes in a flink standalone cluster, I notice that
> the memory isn't freed up.   I understand Flink uses it's own memory
> manager and just allocates a large tenured byte array that is not GC'ed.
>  But does the memory used in this byte array get released when the batch
> job is done?
>
> The scenario I am facing is that I am running a series of scheduled batch
> jobs on a standalone cluster with 1 TM and 1 Slot.  I notice that after a
> job is complete the memory used in the TM isn't freed up.  I can confirm
> this by running  jmap dump.
>
> Has anyone else run into this issue?   This is on 1.9.
>
> Thanks
>
> Tim
>

Reply via email to