Changing Java Heap Values for iDash server processes on *NIX

Document ID : KB000010204
Last Modified Date : 14/02/2018
Show Technical Document Details
Introduction:

A customer may see errors in their iDash server logs showing that there were issues with heap space or ran out of heap space such as the following:

 

<timestamp> [ERROR] idashdb-config-thread-6:com.ca.idash.core.db.idashdb.DbConfigTool$1: java.lang.OutOfMemoryError:Java heap space

com.ca.idash.core.exception.IdashException: java.lang.OutOfMemoryError:Java heap space

 

Instructions:

Navigate to $IDASH_HOME/bin and open the idash_server file for editing.

Find the JAVA_OPTS line and modify the values for the parameters -Xms which is minimum java heap allowed for the jvm and -Xmx which is maximum java heap allowed for the jvm.  

Save the file.

Restart the iDash server using the idash_server stop and idash_server start commands.

 

Notes:

1. These values are by default in megabytes (hence the m at the end of the value).

2. There can be no spaces between the parameter and the value.