You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ignite.apache.org by "Alexey Kuznetsov (JIRA)" <ji...@apache.org> on 2015/02/02 09:44:34 UTC

[jira] [Closed] (IGNITE-88) Add warning / suggestion if cache.storeValueBytes == true

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

Alexey Kuznetsov closed IGNITE-88.
----------------------------------
    Assignee:     (was: Alexey Kuznetsov)

> Add warning / suggestion if cache.storeValueBytes == true
> ---------------------------------------------------------
>
>                 Key: IGNITE-88
>                 URL: https://issues.apache.org/jira/browse/IGNITE-88
>             Project: Ignite
>          Issue Type: Bug
>          Components: cache
>    Affects Versions: sprint-1
>            Reporter: Alexey Kuznetsov
>             Fix For: sprint-1
>
>
> If cache configured with storeValueBytes that will lead to double memory consumption: for object itself and its value bytes.
> Consider following example:
> 1. Start one node with 1G memory.
> 2. Fill cache to get all most free memory. Node works as expected.
> 3. Start one more node with same config as first node (with 1G memory).
> 4. Preloading from first to second node will start, BUT because of storeValueBytes option second node actually need 2G memory. And after short time huge GC will start on second node and it will became almost non operational.
> So, we need a  warning / suggestion if cache configured with storeValueBytes .



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