I'd add that size methods of CacheDataStore (abstraction which is responsible for storing partition data in offheap) actually return int type. That means that there's a limit of Integer.MAX_VALUE entries per partition, which is still huge. FYI: If total cache size is greater than Integer.MAX_VALUE, you can use IgniteCache#sizeLong method in order to obtain correct size.

Best Regards,
Ivan Rakov

On 07.03.2018 13:24, Stanislav Lukyanov wrote:

Hi Jeff,

I believe its Long.MAX_VALUE, so I wouldn’t worry about reaching that cap in one’s lifetime :)



*From: *Jeff Jiao <mailto:jeffjiaoyim...@gmail.com>
*Sent: *7 марта 2018 г. 10:52
*To: *user@ignite.apache.org <mailto:user@ignite.apache.org>
*Subject: *max size of Ignite cache (not memory size, i mean max amount ofrecords)

hi Igniter,

Is there a max limit for the amount of records in one cache? (is it


what will happen when a cache reaches the max limit and we keep adding data

into it?




Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Reply via email to