EHC ❯ Document that the cache storage is always limited by maxMemorySize
-
Task
-
Status: Closed
-
2 Major
-
Resolution: Fixed
-
Documentation
-
-
hsingh
-
Reporter: gbevin
-
September 30, 2009
-
0
-
Watchers: 0
-
January 17, 2013
-
August 16, 2010
Description
As opposed to DistributedCache, when using Ehcache as a front, the memory size can’t ever be infinite. The maximum size is always passed in and takes effect even if it’s 0. This turns the maximum cache size into Integer.MAX_SIZE (2147483647).
Comments
Alex Miller 2009-11-05
gluck 2010-08-16
Added to ehcache.xml comments.
Himadri Singh 2010-10-06
maxElementsInMemory:
Sets the maximum number of objects that will be created in memory. 0 = no limit.
In practice no limit means Integer.MAX_SIZE (2147483647) unless the cache is distributed
with a Terracotta server in which case it is limited by resources.
Not sure where this should go in the docs…