[
https://issues.apache.org/jira/browse/BEAM-6440?focusedWorklogId=185376&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-185376
]
ASF GitHub Bot logged work on BEAM-6440:
----------------------------------------
Author: ASF GitHub Bot
Created on: 15/Jan/19 18:37
Start Date: 15/Jan/19 18:37
Worklog Time Spent: 10m
Work Description: mxm commented on pull request #7517: [BEAM-6440] Fix
leakage of timer de-duplication map
URL: https://github.com/apache/beam/pull/7517
The FlinkStateInternals use a keyed map of pending timers to make up for
Flink's
limitation to only be able to delete timers with their original timestamp,
not
via timer id.
The Map leaked memory because subclasses of DoFnOperator overwrote
`fireTimer`
which was responsible for performing cleanup in the map upon firing a timer.
Post-Commit Tests Status (on master branch)
------------------------------------------------------------------------------------------------
Lang | SDK | Apex | Dataflow | Flink | Gearpump | Samza | Spark
--- | --- | --- | --- | --- | --- | --- | ---
Go | [](https://builds.apache.org/job/beam_PostCommit_Go/lastCompletedBuild/)
| --- | --- | --- | --- | --- | ---
Java | [](https://builds.apache.org/job/beam_PostCommit_Java/lastCompletedBuild/)
| [](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Apex/lastCompletedBuild/)
| [](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Dataflow/lastCompletedBuild/)
| [](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Flink/lastCompletedBuild/)<br>[](https://builds.apache.org/job/beam_PostCommit_Java_PVR_Flink_Batch/lastCompletedBuild/)<br>[](https://builds.apache.org/job/beam_PostCommit_Java_PVR_Flink_Streaming/lastCompletedBuild/)
| [](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Gearpump/lastCompletedBuild/)
| [](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Samza/lastCompletedBuild/)
| [](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Spark/lastCompletedBuild/)
Python | [](https://builds.apache.org/job/beam_PostCommit_Python_Verify/lastCompletedBuild/)
| --- | [](https://builds.apache.org/job/beam_PostCommit_Py_VR_Dataflow/lastCompletedBuild/)
</br> [](https://builds.apache.org/job/beam_PostCommit_Py_ValCont/lastCompletedBuild/)
| [](https://builds.apache.org/job/beam_PostCommit_Python_VR_Flink/lastCompletedBuild/)
| --- | --- | ---
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 185376)
Time Spent: 10m
Remaining Estimate: 0h
> FlinkTimerInternals memory leak
> -------------------------------
>
> Key: BEAM-6440
> URL: https://issues.apache.org/jira/browse/BEAM-6440
> Project: Beam
> Issue Type: Improvement
> Components: runner-flink
> Affects Versions: 2.9.0
> Reporter: Thomas Weise
> Assignee: Maximilian Michels
> Priority: Major
> Attachments: image-2019-01-15-10-31-43-618.png
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> After running a portable streaming app for 2-3 days, we see heap space
> exhausted. Memory analysis shows large number of TimerData objects referenced
> by heap state.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
