4.6 Changing the Java Heap Size

By default, the minimum Java heap size is 64 MB and the maximum heap size is 256 MB for the Role Mapping Administrator. If you have a large set of roles or authorizations, increasing the Java heap size helps the performance of the Role Mapping Administrator.

To change the Java heap size:

  1. Open the /installation_directory/idmrmap/tomcat/bin/catalina.sh file in a text editor.

  2. Search for the lines:

    # Setup var for IDMRMAP configuration file
    JAVA_OPTS="$Java_OPTS -Xms64m -Xmx256m -Didmuserapp.logging.config.dir=$CATALINA_HOME/config -Dlog.init.file=idmrmap_logging.xml"
    
  3. Increase the amount of memory allocated to the Role Mapping Administrator by changing the -Xms64m and -Xmx256m options.

    The amount of memory to add depends upon your environment.

  4. Save your changes and exit the file.

  5. Restart the Role Mapping Administrator by using stop and start scripts.