ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Amit Pundir <amitpun...@gmail.com>
Subject Enforcing data to be stored in Heap only
Date Wed, 19 Jul 2017 21:13:26 GMT
Hello Everyone,

I am using Ignite 2.0 and want to use heap to cache my data. I have enabled
it through the api setOnheapCacheEnabled provided in the CacheConfiguration.

Let's say I have a total RAM size of 12 GB. I have set both Xms and Xmx to 8
GB while starting the Ignite server. The reason I did that is to maximize my
cache get and put operations from the Heap and keep the response time low.

The questions are - 
1. Will Ignite keep only the Cache keys in heap or will it keep the complete
'Entry' i.e. Key and Value both in Heap?
2. Will Ignite still push the application inserted data to off-Heap even if
there is enough space in Heap?
3. In this case, is it fine if I limit my virtual memory
'defaultMemoryPolicySize' to a smaller value like 1 GB?


Thanks





--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Enforcing-data-to-be-stored-in-Heap-only-tp15141.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Mime
View raw message