If using the JDK 1.4 (for windows):

Modify %JAVA_HOME%\jre\lib\i386\jvm.cfg

This should also work for the JRE as well.

If you move -server KNOWN to the top of the list, this will be used as the default mode. To verify, type java at the command prompt. Notice at the bottom that it says server is the default VM.

C:>java

Usage: java [-options] class [args...]
          (to execute a class)
  or  java -jar [-options] jarfile [args...]
          (to execute a jar file)

where options include:
   -server       to select the "server" VM
   -client       to select the "client" VM
   -hotspot      is a synonym for the "client" VM  [deprecated]
                 The default VM is server.

Jeremy Ford


From: "James Moliere" <[EMAIL PROTECTED]>
Reply-To: "Jetspeed Users List" <[EMAIL PROTECTED]>
To: "'Jetspeed Users List'" <[EMAIL PROTECTED]>
Subject: RE: Running out of Memory
Date: Thu, 12 Jun 2003 08:52:32 -0700

Carlos,
I never worried about running the JVM in server mode.  I simply responded
quickly because....

" i am getting desperate, and you do not want to see a desperate
developer..."

I agreed, I didn't want to see a desperate developer!!!!
Let me know when you solve the -server problem

James Moliere
[EMAIL PROTECTED]


-----Original Message----- From: Carlos Orrego [mailto:[EMAIL PROTECTED] Sent: Thursday, June 12, 2003 8:55 AM To: Jetspeed Users List Subject: RE: Running out of Memory

thx very much!!!

any idea on how to run it on -server mode? i have not been able to do that
either.

c


-----Original Message----- From: James Moliere [mailto:[EMAIL PROTECTED] Sent: Thursday, June 12, 2003 11:34 AM To: 'Jetspeed Users List' Subject: RE: Running out of Memory


Carlos, I used 'set JAVA_OPTS=-Xms100m -Xmx300m' in the Catalina.bat file. I also set the environment variable in my XP box where 'JAVA_OPTS=-Xms100m -Xmx300m'

One more important thing.
I noticed when I started TOMCAT as an NT service, the environment didn't
work well.  When I CDed to the bin directory and double clicked
'startup.bat', things worked well.

I hope this was helpful.
Take care!

James Moliere
[EMAIL PROTECTED]


-----Original Message----- From: Carlos Orrego [mailto:[EMAIL PROTECTED] Sent: Thursday, June 12, 2003 8:35 AM To: Jetspeed User List Subject: Running out of Memory

Maybe this is not the place to ask this, but i am desperate. I am running
jetspeed with tomcat 4.0.6, in a win 2k box with 512 RAM.
I get "horrible exceptions out of memory" errors.
I have added CATALINA_OPTS=-server -Xms 64 -Xmx 256 to the catalina.bat
file. But tomcat does not seem to recognise this
parameters!!!
any ideas??? i am getting desperate, and you do not want to see a desperate
developer...

thanks

Carlos Orrego
www.inflexa.com

"Salve un �rbol. No imprima."
"Save a tree. Do not print."



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]




--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]


_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to