Providing more memory on JBoss
If you experience core dumps or Java™ out-of-memory errors when Rule Execution Server is running, you can make more memory available to your application server.
Symptoms
You have core dumps or Java out-of-memory errors when the application is running.
Environment
The heap size depends on the application architecture
and on the number of memory-intensive processes that run on the host
system. To determine the appropriate heap size for the environment,
submit your applications to stress tests.
Resolving the problem
Optional. Clearly state the steps necessary to resolve
the problem. Optionally, include appropriate response role elements.
Alternatively, imbed a task topic or conref that provides the steps
to resolve the problem.
Resolving the problem
Procedure
To increase the JBoss application server memory settings:
You can override the default heap size by using the -Xms and -Xmx switches to specify the initial and maximum sizes.
This example also sets the permanent generation
heap to a maximum value of 256 MB.
set JAVA_OPTS=%JAVA_OPTS% -Xms128m -Xmx512m -XX:MaxPermSize=256m