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

Tsz Wo Nicholas Sze commented on RATIS-410:
-------------------------------------------

[~msingh], do you mean that the cached LogEntryProto(s) in Ratis have included 
state machine data so that it goes OOM?  It is the case, we should remove the 
state machine data from cached LogEntryProto(s).

Would it work if we reduce 1GB raft log segment size in Ozone?


> entry with stateMachineData may cause OOM
> -----------------------------------------
>
>                 Key: RATIS-410
>                 URL: https://issues.apache.org/jira/browse/RATIS-410
>             Project: Ratis
>          Issue Type: Bug
>          Components: server
>    Affects Versions: 0.3.0
>            Reporter: Mukul Kumar Singh
>            Assignee: Mukul Kumar Singh
>            Priority: Major
>         Attachments: RATIS-410.001.patch
>
>
> With Ozone, each of raft log segments are of 1GB in size. Also each of the 
> writeChunk request will have 16MB worth of payload. So this can result in 
> multiple writeChunk requests to be part of one log segment.
> Because the caching policy in ratis works on eviction of log segments, these 
> results in segments holding onto memory which is part of stateMachine.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to