You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Dmitry Karachentsev (JIRA)" <ji...@apache.org> on 2016/12/20 12:03:58 UTC

[jira] [Commented] (IGNITE-2466) OutOfMemory when PRIMARY_SYNC mode is used

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

Dmitry Karachentsev commented on IGNITE-2466:
---------------------------------------------

Semen,

I've implemented your suggestion, but anyway it looks like incomplete solution. Because we count number of messages, not their size.
F.e. in attached test, with such approach on default settings, OOME will be thrown. So we need reduce message queue limit down to 128. With acknowledge check everything will be fine, without it - again OOME.

Maybe better solution would be additionally check heap state and message sizes received from client node? If there is a risk of OOME - stop receiving them (only for messages from clients).

> OutOfMemory when PRIMARY_SYNC mode is used
> ------------------------------------------
>
>                 Key: IGNITE-2466
>                 URL: https://issues.apache.org/jira/browse/IGNITE-2466
>             Project: Ignite
>          Issue Type: Bug
>    Affects Versions: 1.5.0.final
>            Reporter: Denis Magda
>            Assignee: Dmitry Karachentsev
>             Fix For: 2.0
>
>         Attachments: MemTest.java, example-ignite.xml
>
>
> To reproduce, run two server nodes with 2g of heap each and then MemTest. Servers will fail with OOME. If backups are disabled or there is only one server node, it works.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)