You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Vladimir Ozerov (JIRA)" <ji...@apache.org> on 2017/07/10 07:08:06 UTC
[jira] [Updated] (IGNITE-3347) CacheEvictableEntryImpl does not
take CopyOnRead mode into account
[ https://issues.apache.org/jira/browse/IGNITE-3347?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vladimir Ozerov updated IGNITE-3347:
------------------------------------
Fix Version/s: (was: 2.1)
2.2
> 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: 2.2
>
>
> 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.4.14#64029)