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 1792.

    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 1792 or higher.
  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 Savedirectly to the master configuration.

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

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

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

// Ethnio survey code removed