Sun Microsystems Sun GlassFish Enterprise Server 2.1 Tuning Manual page 90

Performance tuning guide
Hide thumbs Also See for Sun GlassFish Enterprise Server 2.1:
Table of Contents

Advertisement

Managing Memory and Garbage Collection
To prevent load address collisions, set preferred base addresses with the rebase utilty that comes
with Visual Studio and the Platform SDK. Use the rebase utility to reassign the base addresses of
the Application Server DLLs to prevent relocations at load time and increase the available
process memory for the Java heap.
There are a few Application Server DLLs that have non-default base addresses that can cause
collisions. For example:
Move these libraries near the system DLLs (msvcrt.dll is at 0x78000000) to increase the
available maximum contiguous address space substantially. Since rebasing can be done on any
DLL, rebase to the DLLs after installing the Application Server.
To rebase the Application Server's DLLs
To perform rebasing, you need:
Before You Begin
Make install_dir\ bin the default directory.
1
cd install_dir\bin
Enter this command:
2
rebase -b 0x6000000 *.dll
Use the dependencywalker utility to make sure the DLLs were rebased correctly.
3
For more information, see the
Increase the size for the Java heap, and set the JVM Option accordingly on the JVM Settings
4
page in the Admin Console.
Restart the Application Server.
5
Heap Configuration on Windows
Example 4–2
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>
For more information on rebasing, see
See Also
90
Sun GlassFish Enterprise Server 2.1 Performance Tuning Guide • January 2009
The nspr libraries have a preferred address of 0x30000000.
The icu libraries have the address of 0x4A?00000.
Windows 2000
Visual Studio and the Microsoft Framework SDK rebase utility
Dependency Walker
website.
MSDN documentation for rebase
utility.

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Sun GlassFish Enterprise Server 2.1 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Table of Contents