Closed river320 closed 1 year ago
This is not throughly tested, but in principle object sizes and cache capacities are maintained as longs. The offheap areas are also long addressed. So I guess technically Long.MAX_VALUE for both key size and value size? The practical limit is going to be lower due to JVM memory constraints and a user's responsiveness requirements. In that sense the technical limit is not a very interesting one.
https://github.com/ben-manes/caffeine/issues/881 Thank you