Cache configuration example for maximum elements in memory
The following example of property values for cache persistence is for maximum elements in memory (out-of-box configuration).
arsystem.ehcache.referenceMaxElementsInMemory=3500
arsystem.ehcache.referenceMaxElementsInMemoryWeight.formImages=0.104
arsystem.ehcache.referenceMaxElementsInMemoryWeight.activeLinks=4.904
arsystem.ehcache.referenceMaxElementsInMemoryWeight.groups=0.025
arsystem.ehcache.referenceMaxElementsInMemoryWeight.roles=0.036
arsystem.ehcache.referenceMaxElementsInMemoryWeight.js=0.195
arsystem.ehcache.referenceMaxElementsInMemoryWeight.displayedFields=0.157
arsystem.ehcache.referenceMaxElementsInMemoryWeight.fieldMaps=20
arsystem.ehcache.referenceMaxElementsInMemoryWeight.sysdata=1.202
arsystem.ehcache.referenceMaxElementsInMemoryWeight.compiledForms=1.5
arsystem.ehcache.referenceMaxElementsInMemoryWeight.forms=0.400
arsystem.ehcache.referenceMaxElementsInMemoryWeight.html=0.195
arsystem.ehcache.referenceMaxElementsInMemoryWeight.formFields=8.577
arsystem.ehcache.referenceMaxElementsInMemoryWeight.actorViews=0.32
arsystem.ehcache.referenceMaxElementsInMemoryWeight.actorViewsMapping=0.32
As noted in the following table, setting these properties specify the maximum number of elements for each cache:
Maximum number of elements for cache types
Cache type | Calculation | Maximum number of elements |
---|---|---|
Form images | 3500 * 0.104 | 364 |
Active links | 3500 * 4.094 | 14329 |
Groups | 3500 * 0.025 | 87 |
Roles | 3500 * 0.36 | 1260 |
JavaScript | 3500 * 0.195 | 682 |
Display fields | 3500 * 0.157 | 549 |
Field maps | 3500 * 20 | 70000 |
System data | 3500 * 1.202 | 4207 |
Compiled forms | 3500 * 1.5 | 5250 |
Forms | 3500 * 0.400 | 1400 |
HTML | 3500 * 0.195 | 683 |
Form fields | 3500 * 8.577 | 10721 |
Actor views | 3500 * 0.32 | 1120 |
Actor views mapping | 3500 * 0.32 | 1120 |
Comments
Log in or register to comment.