You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Pavel Tupitsyn (JIRA)" <ji...@apache.org> on 2016/06/21 10:07:58 UTC

[jira] [Created] (IGNITE-3347) CacheEvictableEntryImpl does not take CopyOnRead mode into account

Pavel Tupitsyn created IGNITE-3347:
--------------------------------------

             Summary: CacheEvictableEntryImpl does not take CopyOnRead mode into account
                 Key: IGNITE-3347
                 URL: https://issues.apache.org/jira/browse/IGNITE-3347
             Project: Ignite
          Issue Type: Bug
          Components: cache
    Affects Versions: 1.6
            Reporter: Pavel Tupitsyn
             Fix For: 1.7


CacheConfiguration.setCopyOnRead(false) causes CacheObjectImpl to hold both val and valBytes, increasing memory usage.

CacheEvictableEntryImpl.size method does not take this into account.
As a result, memory-based eviction policies work incorrectly when copyOnRead=false.



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