If you need to break the 2GB or 4GB heap (depending on your OS/JVM combinaison) maximum barrier for your GlassFish-powered application, you can move to a 64-bit JVM. The following applies to the GlassFish "developer" and "cluster" profiles.
To do so :
- make sure you have a 64-bit JVM
properly installed
- adjust the AS_JAVA variable in GLASSFISH_HOME/config/asenv.conf (applies to an entire install, not to a specific domain or instance)
- replace the -client or -server option with -d64 in the domain jvm-options (use the Admin tool or asadmin create-jvm-options rather than editing domain.xml).
This page (revision-2) was last changed on
07-Aug-08 10:04 AM, -0700
by RussPetruzzelli.
This page was created on
24-Jul-08 01:50 AM, -0700 by Alexis Moussine-Pouckhine.
More info...
| Version |
Date |
Author |
Size |
Changes ... |
|
2
|
07-Aug-08 10:04 AM, -0700
|
RussPetruzzelli |
739 |
to previous
|
|
1
|
24-Jul-08 01:50 AM, -0700
|
Alexis Moussine-Pouckhine |
749 |
to last
|