ehcache / ehcache3

Ehcache 3.x line

Home Page:http://www.ehcache.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

what is the maximun allow key size and vaule size?

river320 opened this issue · comments

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.