catalogCache parameter

The catalogCache.maxElementsInMemory parameter defines the maximum number of catalogs that can be cached in memory per JVM instance.

Parameter values

Value
Integer
Default value
50
Recommended value
100

If the number of cached catalogs in the system equals the catalogCache value and a catalog selected for caching is requested by the Catalog Manager, then the least frequently used cached catalog is cleared from the cache to allow for the requested cached catalog to be processed.

The catalogCache holds the number of cached catalogs and not the number of cached items, and thus having large cached catalogs where each catalog has multiple items can cause memory issues.

Example

In this example, the maximum number of catalogs in the cache is 50.

catalogCache.maxElementsInMemory=50