Sun GlassFish Enterprise Server v2.1.1 Performance Tuning Guide

ProcedureTo rebase the Application Server’s DLLs

Before You Begin

To perform rebasing, you need:

  1. Make install_dir\ bin the default directory.

    cd install_dir\bin
  2. Enter this command:

    rebase -b 0x6000000 *.dll
  3. Use the dependencywalker utility to make sure the DLLs were rebased correctly.

    For more information, see the Dependency Walker website.

  4. Increase the size for the Java heap, and set the JVM Option accordingly on the JVM Settings page in the Admin Console.

  5. Restart the Application Server.

Example 4–2 Heap Configuration on Windows

This is an example heap configuration used by Sun GlassFish Enterprise Server for heavy server-centric applications, on Windows, as set in the domain.xml file.

<jvm-options> -Xms1400m </jvm-options>
<jvm-options> -Xmx1400m </jvm-options>

See Also

For more information on rebasing, see MSDN documentation for rebase utility.