  | Mailing List | | Home | | Forum Home | | JBoss - Java Application Server | | Struts - A MVC web framework | | Tomcat - JSP/Servlet container | | iText - An open source PDF Java Library | | JDOM - JDOM XML Parser | | J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition | | J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog | | Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology | | JSP - A mailing list about Java Server Pages specification and reference | |
Struts & Hibernate
|
|
|
  | | | jvm.cfg, mem heap size | jvm.cfg, mem heap size 2004-01-06 - By John Beamon
Back 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: jbeamon@(protected) web: www.franklinamerican.com
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected) For additional commands, e-mail: tomcat-user-help@(protected)
|
|
 |