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

Setting Xmx and Xms to the same value

Setting the Xmx and Xms parameters configures the maximum (mx) and minimum (ms) sizes of the heap; setting them to the same value fixes the heap to a pre-determined size.

Getting ready

You will need to have Oracle SOA Suite 11g installed for this recipe. This command is the same whether you're using the Hotspot or the JRockit JVM.

How to do it…

To configure your Xmx and Xms parameters, perform the following steps:

  1. Navigate to the domain's home directory:
    cd %MIDDLEWARE_HOME%/user_projects/domains/soa_domain/
    

    Replace soa_domain with the relevant domain, as required.

  2. Within the bin folder, you will see a number of scripts. Depending on your platform, you will need to edit a different file—setSOADomainEnv.cmd on Windows; ...

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