You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Roman Khachatryan (Jira)" <ji...@apache.org> on 2022/11/17 10:31:00 UTC

[jira] [Updated] (FLINK-30073) Managed memory can be wasted if RocksDB memory is fixed-per-slot

     [ https://issues.apache.org/jira/browse/FLINK-30073?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Roman Khachatryan updated FLINK-30073:
--------------------------------------
    Summary: Managed memory can be wasted if RocksDB memory is fixed-per-slot  (was: Managed memory can be wasted if rocksdb memory is fixed-per-slot)

> Managed memory can be wasted if RocksDB memory is fixed-per-slot
> ----------------------------------------------------------------
>
>                 Key: FLINK-30073
>                 URL: https://issues.apache.org/jira/browse/FLINK-30073
>             Project: Flink
>          Issue Type: Bug
>          Components: Runtime / Task
>    Affects Versions: 1.16.0, 1.17.0, 1.15.2
>            Reporter: Roman Khachatryan
>            Priority: Major
>
> When [state.backend.rocksdb.memory.fixed-per-slot|https://github.com/apache/flink/blob/ba4b182955867fedfa9891bf0bf430e92eeab41a/flink-runtime/src/main/java/org/apache/flink/runtime/util/config/memory/ManagedMemoryUtils.java#L75] is set, RocksDB does not use managed memory.
> However, the runtime [doesn't take this into account|https://github.com/apache/flink/blob/ba4b182955867fedfa9891bf0bf430e92eeab41a/flink-runtime/src/main/java/org/apache/flink/runtime/util/config/memory/ManagedMemoryUtils.java#L75] and still reserves the managed memory according to the configured weigths.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)