Little correction: The actual value we have in production for the eviction policy is as follows(500MB)
evpl.setMaxMemorySize(524288000); -----Original Message----- From: HEWA WIDANA GAMAGE, SUBASH [mailto:subash.hewawidanagam...@fmr.com] Sent: Wednesday, October 03, 2018 10:47 PM To: user@ignite.apache.org Subject: RE: LRU Evicts Most Recent Entries Hi Anton, Here's the full configuration. ==========This is my grid config================ IgniteConfiguration cfg = new IgniteConfiguration(); cfg.setPeerClassLoadingEnabled(false); cfg.setLifecycleBeans(new LogLifecycleBean()); TcpDiscoverySpi discoverySpi = new TcpDiscoverySpi(); TcpDiscoveryVmIpFinder ipFinder = new TcpDiscoveryVmIpFinder(); Collection<String> addressSet = new HashSet<>(); for (String address : ipList) { addressSet.add(address); } ipFinder.setAddresses(addressSet); discoverySpi.setJoinTimeout(10000); discoverySpi.setLocalPort(47500); discoverySpi.setIpFinder(ipFinder); cfg.setDiscoverySpi(discoverySpi); ====And this is the cache config=====. CacheConfiguration<String, String> cc = new CacheConfiguration(); cc.setName("mycache"); cc.setBackups(1); cc.setCacheMode(CacheMode.PARTITIONED); cc.setAtomicityMode(CacheAtomicityMode.ATOMIC); LruEvictionPolicy evpl = new LruEvictionPolicy(); evpl.setMaxMemorySize (10000); cc.setEvictionPolicy(evpl); cc.setExpiryPolicyFactory(CreatedExpiryPolicy.factoryOf( new Duration(TimeUnit.SECONDS, 15))); cc.setStatisticsEnabled(true); -----Original Message----- From: akurbanov [mailto:antkr....@gmail.com] Sent: Tuesday, October 02, 2018 1:45 PM To: user@ignite.apache.org Subject: Re: LRU Evicts Most Recent Entries This email is from an external source - exercise caution regarding links and attachments. Hello, Could you please share full Ignite configuration? Regards, Anton -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/