flink-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmitry Golubets (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FLINK-5652) Memory leak in AsyncDataStream
Date Thu, 26 Jan 2017 11:56:24 GMT
Dmitry Golubets created FLINK-5652:

             Summary: Memory leak in AsyncDataStream
                 Key: FLINK-5652
                 URL: https://issues.apache.org/jira/browse/FLINK-5652
             Project: Flink
          Issue Type: Bug
          Components: DataStream API
    Affects Versions: 1.3.0
            Reporter: Dmitry Golubets

When async operation timeout is > 0, the number of StreamRecordQueueEntry instances keeps

It can be easily reproduced with the following code:
  val src: DataStream[Int] = env.fromCollection((1 to Int.MaxValue).iterator)
  val asyncFunction = new AsyncFunction[Int, Int] with Serializable {
    override def asyncInvoke(input: Int, collector: AsyncCollector[Int]): Unit = {
  AsyncDataStream.unorderedWait(src, asyncFunction, 0, TimeUnit.MINUTES, 1).print()

This message was sent by Atlassian JIRA

View raw message