ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dmitriy Karachentsev <dkarachent...@gridgain.com>
Subject Re: Memory consumption in apache ignite
Date Thu, 17 Nov 2016 14:21:30 GMT
Yes, in your case Ignite stores deserialized values as well. You may try to
avoid it by switching copy on read to true, remove indexed types and
disable peer class loading if it's set.

On Thu, Nov 17, 2016 at 4:05 PM, rishi007bansod <rishi007bansod@gmail.com>
wrote:

> I have used single node. My cache configuration is,
> Cache configuration I have used is,
>
>     CacheConfiguration<Object,Object> ccfg_order_line = new
> CacheConfiguration<>();
>     ccfg_order_line.setIndexedTypes(order_lineKey.class,
> order_line.class);
>     ccfg_order_line.setName("order_line_cache");
>     ccfg_order_line.setCopyOnRead(false);
>     ccfg_order_line.setMemoryMode(CacheMemoryMode.ONHEAP_TIERED);
>     ccfg_order_line.setSwapEnabled(false);
>     ccfg_order_line.setBackups(0);
>     IgniteCache<Object, Object> cache_order_line =
> ignite.createCache(ccfg_order_line);
>
>
>
>
>
> --
> View this message in context: http://apache-ignite-users.
> 70518.x6.nabble.com/Memory-consumption-in-apache-ignite-tp9035p9044.html
> Sent from the Apache Ignite Users mailing list archive at Nabble.com.
>

Mime
View raw message