ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vdpyatkov <vldpyat...@gmail.com>
Subject Re: how to use memory efficiently
Date Thu, 15 Dec 2016 13:35:53 GMT

1) No cache name does not affect the memory utilization.
2) Yes, the key can
3) Ignite stores the description of the class only once, and organizes hash
each object. class or field name length does not affect the memory.
4) Off_heap may be cheaper by memory consume, because in some case two copy
of entries will stored on heap (on_heap - memory mode)[1]. But ONHEAP_TIERED
does not compress data.

If you do not going to modify data, which gets from cache, set copyOnRead
flag to false:

 <bean class="org.apache.ignite.configuration.CacheConfiguration">
        <property name="copyOnRead" value="false"/>

Also, you can try to compress data (before to will put it to cache), but
this restricts your SLQ.

[1]: https://issues.apache.org/jira/browse/IGNITE-2417 

View this message in context: http://apache-ignite-users.70518.x6.nabble.com/how-to-use-memory-efficiently-tp9553p9557.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

View raw message