> How is it possible calculate this value? I think that key size, if we use > RandomPartitioner will 16 bytes so keycache will took 16*(num of keycache > elements) bytes ??
The easiest way right now is probably empirical testing. The issue is that the "memory use" must include overhead associated with the data structures involved, as well as longer-term effects like fragmentation in old-space in the GC (similarly to malloc/free). -- / Peter Schuller