9.2 Configuring JVM arguments

You must configure the JVM arguments and custom properties.

Configure the JVM arguments

  1. In the WebSphere Administrative Console navigation tree, do the following for your application server:

    Click Servers > Server Types > WebSphere application servers

  2. In the right pane, click the server name.

  3. Under Server Infrastructure, click Java and Process Management > Process Definition.

  4. Under Additional Properties, click Java Virtual Machine.

  5. In the Initial Heap Size box, type 256 and, in the Maximum Heap Size box, type 2048.

    Note: This value depends on the hardware configuration and the available memory. If you are using an x86/64-bit server, you can set the Maximum Heap Size to 2048 or higher.
    Note: If you are installing the Correspondence Management Solution, it is recommended that you set the Maximum Heap Size to 4096 (4 GB).
  6. In the Generic JVM arguments box, add the following arguments.

    -Xgcpolicy:gencon

    -Dfile.encoding=utf8

    -DentityExpansionLimit=10000

    Note: Add the -Xgcpolicy:gencon JVM argument only if WebSphere is using the IBM JDK. However, do not add this argument in case of WebSphere on Solaris operating system.
  7. Click OK or Apply,and then click Save directly to the master configuration.

  8. Under additional properties, click Java Virtual Machine.

  9. In the right pane, under Additional Properties, click Custom Properties, and then click New.

  10. In the Name box, type java.net.preferIPv4Stack for IPv4 or java.net.preferIPv6Stack for IPv6 and, in the Value box, type true.

  11. Click OK or Apply and then click Save directly to master configuration.

// Ethnio survey code removed