[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[jira] [Created] (FLINK-10339) SpillReadBufferPool cannot use off-heap memory

zhijiang created FLINK-10339:

             Summary: SpillReadBufferPool cannot use off-heap memory
                 Key: FLINK-10339
                 URL: https://issues.apache.org/jira/browse/FLINK-10339
             Project: Flink
          Issue Type: Improvement
          Components: Network
    Affects Versions: 1.6.0, 1.5.3, 1.5.2, 1.5.1, 1.5.0, 1.7.0
            Reporter: zhijiang
            Assignee: zhijiang

Currently, the {{NetworkBufferPool}} always uses off-heap memory to reduce memory copy from flink {{Buffer}} to netty internal {{ByteBuf}} during transporting on sender side.


But for {{SpillReadBufferPool}} in {{SpilledSubpartitionView}}, it still uses heap memory for caching. We can make it as off-heap by default similar with {{NetworkBufferPool}} or decide the type by the current parameter {{taskmanager.memory.off-heap.}}

This message was sent by Atlassian JIRA