Getting out of memory error in RQM 4.0.1?
One answer
For the J2EE application (WebSphere or Tomcat) what values are used for the -Xmx and -Xms parameters in the server.startup file ? How much memory is on the hosting server ?
I'm sure we have QM with 1000s of records and it runs pretty solid for weeks on end w/o hitting memory errors.
Here is example of what one might find in the server.startup for Tomcat based J2EE
JAVA_OPTS="$JAVA_OPTS -DJAZZ_HOME=file://"`pwd`"/conf"
JAVA_OPTS="$JAVA_OPTS -Dcom.ibm.team.repository.tempDir=$TEMP_DIR"
JAVA_OPTS="$JAVA_OPTS -Dlog4j.configuration=file://"`pwd`"/conf/startup_log4j.properties"
JAVA_OPTS="$JAVA_OPTS -Xmx5G"
#JAVA_OPTS="$JAVA_OPTS -Xms4G"
JAVA_OPTS="$JAVA_OPTS -Xmn512M"
The means of setting JVM parameters is documented elsewhere.
I'm sure we have QM with 1000s of records and it runs pretty solid for weeks on end w/o hitting memory errors.
Here is example of what one might find in the server.startup for Tomcat based J2EE
JAVA_OPTS="$JAVA_OPTS -DJAZZ_HOME=file://"`pwd`"/conf"
JAVA_OPTS="$JAVA_OPTS -Dcom.ibm.team.repository.tempDir=$TEMP_DIR"
JAVA_OPTS="$JAVA_OPTS -Dlog4j.configuration=file://"`pwd`"/conf/startup_log4j.properties"
JAVA_OPTS="$JAVA_OPTS -Xmx5G"
#JAVA_OPTS="$JAVA_OPTS -Xms4G"
JAVA_OPTS="$JAVA_OPTS -Xmn512M"
The means of setting JVM parameters is documented elsewhere.