No way to manage memory usage
This is a follow up to #4 since the solution proposed there isn't ideal for us. Our keys are generally small and the values are big which matches OFFHEAP_VALUES best so OFFHEAP_TIERED isn't ideal for us. We also use a 2 day retention policy.
Our issue in particular is that we exceed our memory capacity and are being killed by the system.
Ideally, we'd like to see a way to set a max memory usage so that we aren't being killed by the system.
apologies for the delay, I was out on vacation. Let me make this change(among other things) this week (mostly by Thursday).
I pushed the change where you can now set the cacheMemoryMode using configs.
@dhaval2025 Thanks. Though, that change does not seem to address the max memory usage issue that @cwoodwar6 is dealing with. Unless I'm missing something... ? offHeapStorageSize does not seem to make a difference.
@wirehat when you use cacheMemoryMode= OFFHEAP_VALUES, according to ignite documentaion offHeapStorageSize will not be respected. You need to change the mode to either
ONHEAP_TIERED or OFFHEAP_TIERED.