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:
Open the /installation_directory/idmrmap/tomcat/bin/catalina.sh file in a text editor.
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"
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.
Save your changes and exit the file.
Restart the Role Mapping Administrator by using stop and start scripts.