Hi Bing, it works as expected: https://www.gridgain.com/docs/latest/developers-guide/memory-architecture/eviction-policies#on-heap-cache-eviction
you set eviction only for on-heap, records will never be evicted from the off-heap memory, but only from on -heap. Please see my example: https://gist.github.com/Mikhail1988/679665d7bad89b604d14b073de30ddb4 If you want to evict data from off-heap you need to use: https://www.gridgain.com/docs/latest/developers-guide/memory-architecture/eviction-policies#off-heap-memory-eviction Thanks, Mike. -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/