13 Appendix - Increasing the Deployer heap size for WebSphere

You must increase the heap size in the ejbdeploy.bat/sh script to avoid time-out errors.

AIX, Linux, Soloaris

  1. Go to the [appserver root]/deploytool/itp/ directory and open ejbdeploy.sh for editing.

  2. (Solaris only) In the SunOS section, find the EJBDEPLOY_JVM_OPTIONS attribute and change the value of the -XX:PermSize option to 256m, and ensure that the value of the -Xverify option is none.

  3. Change the heap size in the $JAVA_CMD\ section to the following value:

    -Xms256m Xmx512m
  4. Save and close the file.

    Windows

Windows

  1. Go to [appserver root]\deploytool\itp and open the ejbdeploy.bat file in a text editor.

  2. Find the line beginning with %JAVA_HOME% and then find the argument -Xmx.

  3. Change the argument to -Xmx512M.

  4. Save and close the file.

Increase MaxPermSize (WebSphere on Solaris)

  1. Log in to the WebSphere Administrative Console.

  2. In the navigation tree of the WebSphere Administrative Console, do one of the following:

    • Click Servers > Server Types > WebSphere Application servers and, 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 Generic JVM Arguments, enter the MaxPermSize parameter as follows:
    -XX:MaxPermSize=512m
  6. Click OK or Apply.

  7. In the Messages box, click Save directly to master configuration, and then restart the application server.

// Ethnio survey code removed