NOTICE: Our Community is moving. Get more information.
BSS (Borland Search Server): CaliberRM Schema Generator fails with Java.Lang.OutOfMemory error
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
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:
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
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.