Legacy Content Delivery is installed with default values based on a set of minimum system requirement criteria. If you find your system's performance unsatisfactory and you have the ability to claim more memory for your Java heap size, modify the defaults by following these steps to change the database memory settings.
About this task
ContentDelivery_home refers to
ContentDelivery_InstallDir\WEB-INF on Windows and
ContentDelivery_InstallDir/WEB-INF on Linux.
Procedure
- Open the ContentDelivery_home/conf.xml file in a text editor.
- Set the following attributes to the recommended value:
cacheSize: Between 512 Mb and 1Gb. Setting it over 1Gb will not improve performance.
collectionCache: Between 512 Mb and 1Gb. Setting it over 1Gb will not improve performance.
pageSize: 4096 bytes (default value).
nodesBuffer: 1000
index-depth: 10
- Those values apply to both 8 Gb (JVM 6144 MB) and 16 Gb (JVM 8192 MB) application servers.
What to do next
Consult the eXist database documentation for the db-connection element to learn more about appropriate values for these attributes.