[
https://issues.apache.org/jira/browse/FLINK-19852?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17237697#comment-17237697
]
Roman Khachatryan commented on FLINK-19852:
-------------------------------------------
Thanks for your feedback [~sewen].
I've created a PR to implement this approach:
https://github.com/apache/flink/pull/14184.
> Managed memory released check can block IterativeTask
> -----------------------------------------------------
>
> Key: FLINK-19852
> URL: https://issues.apache.org/jira/browse/FLINK-19852
> Project: Flink
> Issue Type: Bug
> Components: Runtime / Task
> Affects Versions: 1.11.0, 1.10.2, 1.12.0, 1.11.1, 1.11.2
> Reporter: shaomeng.wang
> Assignee: Roman Khachatryan
> Priority: Critical
> Labels: pull-request-available
> Attachments: image-2020-10-28-17-48-28-395.png,
> image-2020-10-28-17-48-48-583.png
>
>
> UnsafeMemoryBudget#reserveMemory, called on TempBarrier, needs time to wait
> on GC of all allocated/released managed memory at every iteration.
>
> stack:
> !image-2020-10-28-17-48-48-583.png!
> new TempBarrier in BatchTask
> !image-2020-10-28-17-48-28-395.png!
>
> These will be very slow than before.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)