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)