[
https://issues.apache.org/jira/browse/ROCKETMQ-190?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15985979#comment-15985979
]
Eric Liu commented on ROCKETMQ-190:
-----------------------------------
Yes, It's true broker will delete expired files at 04:00 AM or disk is full.
You could change the value of MessageStoreConfig.diskMaxUsedSpaceRatio or
MessageStoreConfig.fileReservedTime to control it.
> About mapperFile unmap . MQ memory use growing , mem use only release at
> 04:00 AM delete file ,unmap the logFile
> -------------------------------------------------------------------------------------------------------------------
>
> Key: ROCKETMQ-190
> URL: https://issues.apache.org/jira/browse/ROCKETMQ-190
> Project: Apache RocketMQ
> Issue Type: Improvement
> Components: rocketmq-store
> Reporter: zhaoziyan
> Assignee: yukon
> Attachments: mqmem.png, unmap.png
>
>
> MQ version is 3.4.6
> jdk 1.6
> I have look the 4.0.0 code . unmmap the mapperFile ,the logic almost same.
> this is the log and MQ mem use monitor
> The MQ use grow until 04:00 AM delete file
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)