How can I configure GlassFish to use a 64-bit JVM? 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).
Great tip bro, I was looking for it since I can't use glassFish. I'll try it now.. Owner builders insurance
 Posted by james1122 at Jul 18, 2011 06:29
|
|