[ 
https://issues.apache.org/jira/browse/FLINK-18554?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17157178#comment-17157178
 ] 

Yun Tang commented on FLINK-18554:
----------------------------------

[~kien_truong] From my point of view, it's not easy to take account into memory 
of the mmap usage of sst files as there is actually no watcher for those memory 
usage in RocksDB.


> Memory exceeds taskmanager.memory.process.size when enabling mmap_read for 
> RocksDB
> ----------------------------------------------------------------------------------
>
>                 Key: FLINK-18554
>                 URL: https://issues.apache.org/jira/browse/FLINK-18554
>             Project: Flink
>          Issue Type: Bug
>          Components: Runtime / Configuration
>    Affects Versions: 1.11.0
>            Reporter: Truong Duc Kien
>            Priority: Major
>
> We are testing Flink automatic memory management feature on Flink 1.11. 
> However, YARN kept killing our containers due to the processes' physical 
> memory exceeds the limit, although we have tuned the following configurations:
> {code:java}
> taskmanager.memory.process.size
> taskmanager.memory.managed.fraction
> {code}
> We suspect that it's because we have enabled mmap_read for RocksDB, since 
> turning this options off seems to fix the issue. Maybe Flink automatic memory 
> management is unable to account for the addition memory required when using 
> mmap_read ?
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to