We can increase the heap size for workbench to make it faster and more efficient by following below steps
1) Go to $ENDECA_TOOLS_ROOT/server/bin
2) Edit workbench .sh using following command
vi workbench.sh
3) Check for following lines of commands :
# Prepend WB_CATALINA_OPTS to standard Workbench CATALINA_OPTS
CATALINA_OPTS="${WB_CATALINA_OPTS} -Xms256m"
CATALINA_OPTS="${CATALINA_OPTS} -Xmx1024m"
CATALINA_OPTS="${CATALINA_OPTS} -XX:MaxPermSize=512m"
CATALINA_OPTS="${CATALINA_OPTS} -Dorg.apache.el.parser.SKIP_IDENTIFIER_CHECK=true"
CATALINA_OPTS="${CATALINA_OPTS} -Dcom.endeca.manager.endecaroot=${ENDECA_TOOLS_CONF}"
export CATALINA_OPTS
1) Go to $ENDECA_TOOLS_ROOT/server/bin
2) Edit workbench .sh using following command
vi workbench.sh
3) Check for following lines of commands :
# Prepend WB_CATALINA_OPTS to standard Workbench CATALINA_OPTS
CATALINA_OPTS="${WB_CATALINA_OPTS} -Xms256m"
CATALINA_OPTS="${CATALINA_OPTS} -Xmx1024m"
CATALINA_OPTS="${CATALINA_OPTS} -XX:MaxPermSize=512m"
CATALINA_OPTS="${CATALINA_OPTS} -Dorg.apache.el.parser.SKIP_IDENTIFIER_CHECK=true"
CATALINA_OPTS="${CATALINA_OPTS} -Dcom.endeca.manager.endecaroot=${ENDECA_TOOLS_CONF}"
export CATALINA_OPTS
Replace CATALINA_OPTS="${CATALINA_OPTS} -Xmx1024m" with CATALINA_OPTS="${CATALINA_OPTS} -Xmx2048m"
No comments:
Post a Comment