Edit Memory Settings

Oracle recommends that you set the following memory parameters for the typical environment that is hosting the P6 Adapter.

  1. Determine which JDK you are using for your P6 Adapter domain.
  2. Determine whether the application server that is hosting the P6 Adapter domain is running on a 64 bit operating system. If the application server is running on a 64 bit operating system, determine whether the application server is using the 64 bit mode when hosting the domain:
    1. Locate and open the following file:

      For Windows,

      <Middleware_home>\wlserver\common\bin\commEnv.cmd

      For Linux,

      <Middleware_home>/wlserver/common/bin/commEnv.sh

    2. Search for the following line and set <setting> to True:

      Windows

      set JAVA_USE_64BIT=<setting>

      Linux

      JAVA_USE_64BIT=<setting>

    3. Close the commEnv.cmd / commEnv.sh file.
  3. Locate and open the following file:

    Windows

    <P6_Adapter_Domain_Home>\bin\setDomainEnv.cmd

    Linux

    <P6_Adapter_Domain_Home>/bin/setDomainEnv.sh

  4. Make the following edits to the setDomainEnv.cmd / setDomainEnv.sh file:
    1. Search for the following line:

      Windows

      set MEM_ARGS_64BIT=%WLS_MEM_ARGS_64BIT%

      Linux

      MEM_ARGS_64BIT="${WLS_MEM_ARGS_64BIT}"

    2. Replace the line above with the following lines:

      Windows

      @REM set MEM_ARGS_64BIT=%WLS_MEM_ARGS_64BIT%

      set MEM_ARGS_64BIT=-XX:NewSize=256m -Xms1024m -Xmx1024m

      Linux

      # MEM_ARGS_64BIT="${WLS_MEM_ARGS_64BIT}"

      MEM_ARGS_64BIT="-XX:NewSize=256m -Xms1024m -Xmx1024m”

  5. Save the changes to the setDomainEnv.cmd / setDomainEnv.sh file.
  6. Restart the WebLogic domain.

Related Topics

Downloading the P6 Adapter

Creating a WebLogic Domain for the P6 Adapter Deployment

Create an Endorsed Folder

Configure P6 EPPM Web Services Message Protection Settings

Disable Content Repository in the Configuration Settings

Set Java Options for the WebLogic Domain

Start the WebLogic Domain

Deploy the p6adapter.ear File into the WebLogic Domain



Legal Notices
Copyright © 2011, 2016, Oracle and/or its affiliates. All rights reserved.

Last Published Wednesday, September 21, 2016