A.5 Setting Memory of Entity Resolution and Matching Services
To increase the memory of entity resolution and matching services, perform
the following steps:
- Log in to the server where Compliance Studio is installed.
- Navigate to
<COMPLIANCE_STUDIO_INSTALLATION_PATH>/bin
directory. - Open the
compliance-studio.sh
file, and edit the functionstart_services()
. - In entity resolution, update the memory in the JAVA_OPTS to a
higher value according to your requirement.
For example,
export JAVA_OPTS="-Xms12g –Xmx24g"
Code-black:entity-resolution export JAVA_OPTS="-Xms4g -Xmx8g" export LD_LIBRARY_PATH="$COMPLIANCE_STUDIO_INSTALLATION_PATH/ deployed/python-packages/saneVirtualEnv/lib/python3.6/site-packages/ jep:$COMPLIANCE_STUDIO_INSTALLATION_PATH/deployed/python-packages/ saneVirtualEnv/lib/":$LD_LIBRARY_PATH export PATH_ORG=$PATH export PATH=$DEPLOY_APP_HOME/python-packages/saneVirtualEnv/ bin:$PATH export TNS_ADMIN=$TNS_ADMIN_PATH sh "$DEPLOY_APP_HOME"/entity-resolution/bin/entity-resolution >"$LOGS_FOLDER"/entity-resolution.log & unset JAVA_OPTS export PATH=$PATH_ORG ;;
-
In the matching service, update the memory in the JAVA_OPTS to a higher value according to your requirement.
For example,
export JAVA_OPTS="-Xms12g -Xmx24g"
Code-block:matching-service export JAVA_OPTS="-Xms6g -Xmx12g" export LD_LIBRARY_PATH="$COMPLIANCE_STUDIO_INSTALLATION_PATH/ deployed/python-packages/saneVirtualEnv/lib/python3.6/site-packages/ jep:$COMPLIANCE_STUDIO_INSTALLATION_PATH/deployed/python-packages/ saneVirtualEnv/lib/":$LD_LIBRARY_PATH if ("$OPEN_SEARCH_HTTPS_ENABLED"); then export JAVA_OPTS="$JAVA_OPTS - Djavax.net.ssl.trustStore=$DEPLOY_APP_HOME/matching-service/conf/ $OPEN_SEARCH_TRUSTSTORE_FILE_NAME - Djavax.net.ssl.trustStorePassword=$OPEN_SEARCH_TRUSTSTORE_PASSWORD" fi export PATH_ORG=$PATH export PATH=$DEPLOY_APP_HOME/python-packages/saneVirtualEnv/ bin:$PATH export TNS_ADMIN=$TNS_ADMIN_PATH sh "$DEPLOY_APP_HOME"/matching-service/bin/matching-service >"$LOGS_FOLDER"/matching-service.log & unset JAVA_OPTS export PATH=$PATH_ORG ;;