O'Reilly logo

Oracle SOA Suite Performance Tuning Cookbook by Matt Brasier, Nicholas Wright

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Disabling the RMI garbage collector

The RMI garbage collector is a task that periodically runs an explicit garbage collection in order to free up objects involved in remote method calls. By default, this runs once per minute, which is very frequent for a system where most RMI objects are going to be quite long-lived.

Getting ready

For more details, refer to the Getting ready section of the Setting the new size recipe.

How to do it...

To disable the RMI garbage collector, consider the following steps:

  1. Navigate to the domain's bin directory:
    cd %MIDDLEWARE_HOME%/user_projects/domains/soa_domain/bin
  2. Open the script setSOADomainEnv.cmd or setSOADomainEnv.sh in a text editor.
  3. Locate the following line:
    SET EXTRA_JAVA_PROPERTIES=%EXTRA_JAVA_PROPERTIES% -Dums.oracle.home=%UMS_ORACLE_HOME% ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required