Having problems with your account or logging in?
A lot of changes are happening in the community right now. Some may affect you. READ MORE HERE

BSS (Borland Search Server): CaliberRM Schema Generator fails with Java.Lang.OutOfMemory error

BSS (Borland Search Server): CaliberRM Schema Generator fails with Java.Lang.OutOfMemory error

Problem:

BSS (Borland Search Server): CaliberRM Schema Generator fails with Java.Lang.OutOfMemory error

Resolution:

Article Summary

When running the CaliberRM Schema Generator within BSS, the operation fails with a Java.Lang.OutOfMemory error. This symptom is normally the result of the CaliberRM server hosting a high number of Projects and/or UDA"s and/or Requirement Types.

Article contents

Borland Search Server is hosted on an Apache Tomcat instance, and runs on default settings for the amount of allocated memory to use at startup (-Xms setting), and the max (-Xmx setting) amount of memory to be used by the Tomcat server. If you find that you are running into the problem above, or operations run though appear to top out in memory usage without utilizing available memory, creating a JAVA_OPTS Environment variable to define the -Xms and -Xmx settings may resolve the error and improve overall performance.

STEPS TO PERFORM:

  • Right-Click MyComputer and select Properties
  • From the new window that appears, select the Advanced tab
  • Click Environment Variables button
  • Select New and enter the Variable Name: as "JAVA_OPTS" and set the Variable value: as "-Xms64M -Xmx256M"
  • Startup or restart Tomcat for the new settings to take affect

NOTES: The -Xms setting is just a starting point, therefore it isn"t necessary to increase this setting unless Tomcat will be fighting other applications for memory and it is decided that the applications hosted by Tomcat take priority.

Start the -Xmx setting at a reasonable amount and then step up in increments, restarting Tomcat Server each time to retest the operation to confirm working, or see if the error remains or possibly changes indicating a different problem.

CAUTION: The -Xmx setting for the memory max should be used with caution, as you do not want to set this value higher than the amount of memory available on the machine, otherwise your application may crash or potentially worse the machine may crash causing a variety of other problems.

Old KB# 16193

DISCLAIMER:

Some content on Community Tips & Information pages is not officially supported by Micro Focus. Please refer to our Terms of Use for more detail.
Version history
Revision #:
1 of 1
Last update:
‎2013-02-15 18:30
Updated by:
 
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.