Re: Enforcing data to be stored in Heap only

2017-09-07 Thread Amit Pundir
Hi Val, Would the BinaryObject api improve the performance even if the Key and Value both are user-defined-objects instead of primitives? I have a cluster of 8 ignite server nodes and 8 ignite client nodes (tomcat). My use-case first gets a value for a key to the client node, updates the sta

Re: Enforcing data to be stored in Heap only

2017-09-02 Thread Amit Pundir
Hi Val, Would the BinaryObject api improve the performance even if the Key and Value both are user-defined-objects instead of primitives? I have a cluster of 8 ignite server nodes and 8 ignite client nodes (tomcat). My use-case first gets a value for a key to the client node, updates the state of

Re: Enforcing data to be stored in Heap only

2017-07-20 Thread vkulichenko
It uses page memory, so there are no objects at all. Everything is binary and everything is off-heap where Ignite allocates memory manually, bypassing JVM and GC. Starting with 2.1 these pages can also be mapped to disk. -Val -- View this message in context: http://apache-ignite-users.70518.x6

Re: Enforcing data to be stored in Heap only

2017-07-20 Thread Amit Pundir
gnite evicted the on-heap entries to off-heap based on eviction policy set by the application. I'll look into Binary Marshaller as well. Thanks -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Enforcing-data-to-be-stored-in-Heap-only-tp15141p15207.html Se

Re: Enforcing data to be stored in Heap only

2017-07-20 Thread vkulichenko
overhead you can use BinaryObject API: https://apacheignite.readme.io/docs/binary-marshaller -Val -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Enforcing-data-to-be-stored-in-Heap-only-tp15141p15197.html Sent from the Apache Ignite Users mailing list archive at

Re: Enforcing data to be stored in Heap only

2017-07-20 Thread Amit Pundir
th on-heap enabled, the complete 'Entry' is stored on-heap and not just the 'Key'. I will confirm this with heap dump. / Thanks. -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Enforcing-data-to-be-stored-in-Heap-only-tp15141p15168.html Sent fro

Re: Enforcing data to be stored in Heap only

2017-07-19 Thread vkulichenko
gnite-users.70518.x6.nabble.com/Enforcing-data-to-be-stored-in-Heap-only-tp15141p15142.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Enforcing data to be stored in Heap only

2017-07-19 Thread Amit Pundir
nserted 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-