jvm.cfg, mem heap size

2004-01-06 Thread John Beamon
I need to raise the amount of memory my jvm buffers for its use.  I've 
seen docs on JavaHotSpot and JRun and a bunch of other things, but never 
just j2sdk.  Even at java.sun.com, there were more docs for iPlanet 
tuning than j2sdk jvm tuning.  I'm looking for the syntax for adding 
"-Xms128m -Xmx128m", but everything I try gives me:

Warning: missing VM type on line 25 of 
`/usr/java/j2sdk1.4.1/jre/lib/i386/jvm.cfg'
Warning: missing VM type on line 26 of 
`/usr/java/j2sdk1.4.1/jre/lib/i386/jvm.cfg'
Warning: missing VM type on line 25 of 
`/usr/java/j2sdk1.4.1/jre/lib/i386/jvm.cfg'
Warning: missing VM type on line 26 of 
`/usr/java/j2sdk1.4.1/jre/lib/i386/jvm.cfg'

My jvm.cfg is pasted below.
# commented lines
-client KNOWN
-server KNOWN
-hotspot ALIASED_TO -client
-classic WARN
-native ERROR
-green ERROR
-Xms128m
-Xmx128m
Lines 25 and 26 are the two "-Xm" lines at the bottom.  Can somebody 
enlighten me?

--

John Beamon
Systems Administrator
Franklin American Mortgage
eml: [EMAIL PROTECTED]
web: www.franklinamerican.com
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: jvm.cfg, mem heap size

2004-01-06 Thread Shapira, Yoav

Howdy,
You probably want to read and bookmark this page and the performance
docs pages linked from it:
http://java.sun.com/docs/hotspot/VMOptions.html.

(This issue has also been raised and discussed many times on this list,
you can search the archives).

Yoav Shapira
Millennium ChemInformatics


>-Original Message-
>From: John Beamon [mailto:[EMAIL PROTECTED]
>Sent: Tuesday, January 06, 2004 1:16 PM
>To: Tomcat Users List
>Subject: jvm.cfg, mem heap size
>
>I need to raise the amount of memory my jvm buffers for its use.  I've
>seen docs on JavaHotSpot and JRun and a bunch of other things, but
never
>just j2sdk.  Even at java.sun.com, there were more docs for iPlanet
>tuning than j2sdk jvm tuning.  I'm looking for the syntax for adding
>"-Xms128m -Xmx128m", but everything I try gives me:
>
>Warning: missing VM type on line 25 of
>`/usr/java/j2sdk1.4.1/jre/lib/i386/jvm.cfg'
>Warning: missing VM type on line 26 of
>`/usr/java/j2sdk1.4.1/jre/lib/i386/jvm.cfg'
>Warning: missing VM type on line 25 of
>`/usr/java/j2sdk1.4.1/jre/lib/i386/jvm.cfg'
>Warning: missing VM type on line 26 of
>`/usr/java/j2sdk1.4.1/jre/lib/i386/jvm.cfg'
>
>My jvm.cfg is pasted below.
># commented lines
>-client KNOWN
>-server KNOWN
>-hotspot ALIASED_TO -client
>-classic WARN
>-native ERROR
>-green ERROR
>-Xms128m
>-Xmx128m
>
>Lines 25 and 26 are the two "-Xm" lines at the bottom.  Can somebody
>enlighten me?
>
>--
>
>John Beamon
>Systems Administrator
>Franklin American Mortgage
>eml: [EMAIL PROTECTED]
>web: www.franklinamerican.com
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


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



Re: jvm.cfg, mem heap size

2004-01-06 Thread Robert Hall
And for tuning gc in the 1.4 JVM:
http://java.sun.com/docs/hotspot/gc1.4.2/
Robert

Shapira, Yoav wrote:

Howdy,
You probably want to read and bookmark this page and the performance
docs pages linked from it:
http://java.sun.com/docs/hotspot/VMOptions.html.
(This issue has also been raised and discussed many times on this list,
you can search the archives).
Yoav Shapira
Millennium ChemInformatics
 

-Original Message-
From: John Beamon [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 06, 2004 1:16 PM
To: Tomcat Users List
Subject: jvm.cfg, mem heap size
I need to raise the amount of memory my jvm buffers for its use.  I've
seen docs on JavaHotSpot and JRun and a bunch of other things, but
   

never
 

just j2sdk.  Even at java.sun.com, there were more docs for iPlanet
tuning than j2sdk jvm tuning.  I'm looking for the syntax for adding
"-Xms128m -Xmx128m", but everything I try gives me:
Warning: missing VM type on line 25 of
`/usr/java/j2sdk1.4.1/jre/lib/i386/jvm.cfg'
Warning: missing VM type on line 26 of
`/usr/java/j2sdk1.4.1/jre/lib/i386/jvm.cfg'
Warning: missing VM type on line 25 of
`/usr/java/j2sdk1.4.1/jre/lib/i386/jvm.cfg'
Warning: missing VM type on line 26 of
`/usr/java/j2sdk1.4.1/jre/lib/i386/jvm.cfg'
My jvm.cfg is pasted below.
# commented lines
-client KNOWN
-server KNOWN
-hotspot ALIASED_TO -client
-classic WARN
-native ERROR
-green ERROR
-Xms128m
-Xmx128m
Lines 25 and 26 are the two "-Xm" lines at the bottom.  Can somebody
enlighten me?
--

John Beamon
Systems Administrator
Franklin American Mortgage
eml: [EMAIL PROTECTED]
web: www.franklinamerican.com
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
   





This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged.  This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender.  Thank you.

-
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]