Previous Topic: (WebSphere) Resize the Java Virtual Machine Memory HeapNext Topic: Cache Manipulation


Reset Cache Limits

To support large configurations, you can expand the cache memory limits.

Cache memory is defined by the number of elements (users, resources, roles, and so on) that can be held in the cache at once. When the cache is full, elements are swapped in and out of memory, which can affect performance. The default setting limits the memory cache to 500,000 elements.

This procedure describes how to reset cache settings for an existing CA GovernanceMinder implementation. In WebSphere implementations, you can modify these settings before implementation by editing the EAR file you use to install the CA GovernanceMinder server.

Follow these steps:

  1. Edit the ehcache-sageDal.xml file on the CA GovernanceMinder server:
  2. In the defaultCache entry, change the following attribute:
    maxElementsInMemory

    Defines the maximum number of elements stored in cache memory.

    We recommend that you set this field using the following formula:

    maxElementsInMemory = total number of entities * 3
    

    For example, if you have one universe with 500,000 users and 500,000 roles, set maxElementsInMemory to 3,000,000 elements.

    If you have two universes, each with 500,000 users and 500,000 roles, set maxElementsInMemory to 6,000,000 elements.

  3. Save changes to the file and close.

    You have reset cache settings.