I am getting following overhead after loading single object in ignite cache
in heap dump. Snapshot represents difference in memory consumption with 2
and 1 entries in cache. What might be reason for high memory usage(about
14.4KB) for single cache entry? 

<http://apache-ignite-users.70518.x6.nabble.com/file/n9152/overhead_1_entry.png>
  

following are 2 entries I am inserting in cache,

*Entry 1*
(1,1,1,'iZOirfu3DIuxa2K','OE','BARBARBAR','Fh7V0BTxG0U1ZgaGD','y4cq5q8zniz5K','nPknYBioBB','jp','309127129','5019275325034732','2016-09-28
10:26:18','BC',50000,0.15,-10.00,10.00,1,0,'pn4p8xt3g3rV9P0G1sZO4dXrrOTFMsMBdO0lJroxtdS21TG0JpPNSuDIGgXcWsn9ElsYceVVIwVHNlHebez1YCJoqpQMhBTvuLRXyx0ErWVEFmqqRpqx09mqyABdMeXGyylutk8iEduTNkImY8kYHWOEeZp0CMF8Jy2AiAtwlnO8Ygv4ofc39yFnW5miPzqixsre0kYlXwt3am5MRhQYgfKCi6s83go0WfcWNBFv58wet20KhQrL4BXkFNqI3fGZIt3g2IZ5PTjIViaB8RWAa2vpPl7ROO0fF2LFIuKhN2xrkY2qxYzYasLybTP0pNf2PyHisZNDZL4Ht48ob7M9zg7a9UYwsBwF9BvzkJDIcFZTIfHrmc0jI6IPaoLS0Fg7Qb58sGQUTyxldFcOrb')

*Entry 2*
(2,1,1,'I2xGnaTOyI','OE','BARBAROUGHT','2PgPvvZibfmx','EvBojknzmkFXJgtFy','HLWfEQCw1sgzluswhZe','YQ','022259369','8098254601567654','2016-09-28
10:26:18','BC',50000,0.38,-10.00,10.00,1,0,'NlAHDb4u0irirTdNGXvu5QIVladdWB4rwE89pB1nrtUgK72YcxRfMh95FkjlvldpzjwnsxYko2O78QdkM4OgjXlyHSkCDL1B4vwvsUdfV1mdQPNkSjQBG9AXcuhnDgwHbsAUNn7sprVDGqxgaNsoU0M6s1s5ioKJhVl4Iqu5hNIwBDcjYSY3Ss9Kt1PZqkrVFcXVRRb8mr4x5hfd7Dea3osunIUb0L6DvdiM2HVo9XkCCPnKaSubEmV12xb2IfFCJwWJDz6KXqWjDI3lkvMygpxinWj3CwFTsmk4lqOGet0rB1atxwpdmmJZH0aTxqunaerJVEa77YxGZX9USy5CiPjxPJQK9I8hvx1OBbVG7SWgyf9QbEcIbLFzeeJmwRTrNSDY1jp8BJn7xwXYA7qmS4j5i2pcSGSpjfLkOArYUefRaDxkKmUlqDoWEb8graTYGoHcx8ARmoqKzn4HXX0NiotwN0aFa3noq2P')

Key is formed with first 3 entries.
Data types of these entries are = {3 ints, 11 Strings, 1 long, 3 doubles, 2
ints, 1 String}, These are in order with above entries.

My cache config is :

CacheConfiguration<Object,Object> ccfg_customer = new
CacheConfiguration<>();
ccfg_customer.setIndexedTypes(customerKey.class, customer.class);
ccfg_customer.setName("customer_cache");
ccfg_customer.setCopyOnRead(true);
ccfg_customer.setCacheMode(CacheMode.PARTITIONED);
ccfg_customer.setMemoryMode(CacheMemoryMode.ONHEAP_TIERED);
ccfg_customer.setSwapEnabled(false);
ccfg_customer.setBackups(0);
ccfg_customer.setOffHeapMaxMemory(-1); 
ccfg_customer.setSqlOnheapRowCacheSize(0);
IgniteCache<Object, Object> cache_customer =
ignite.createCache(ccfg_customer);
                  
                



--
View this message in context: 
http://apache-ignite-users.70518.x6.nabble.com/Memory-overhead-for-single-cache-entry-in-ignite-tp9152.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Reply via email to