The units are specified by the final 'm' for megabytes: JAVA_OPTS
= -Xms256m -Xmx256m
I set the minimum (ms) and maximum (mx) the same so that it is locked in
when the JVM starts up.





----- Original Message -----
From: "Marco Tedone" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, January 20, 2003 1:17 PM
Subject: RE: [JBoss-user] Increase memory originally allocated to running
JBoss


Which is the size unit of measure?

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: Monday, January 20, 2003 7:20 PM
To: [EMAIL PROTECTED]
Subject: RE: [JBoss-user] Increase memory originally allocated to running
JBoss


If you are using jboss/run/run.bat or run.sh to startup JBoss, set the
JAVA_OPTS environment var to the desired size.
-Xmx<size>        set maximum Java heap size

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Jason Stortz
Sent: Monday, January 20, 2003 2:02 PM
To: [EMAIL PROTECTED]
Subject: [JBoss-user] Increase memory originally allocated to running JBoss


We have a memory leak, which I believe is in our EJB.  JBoss usually runs
fine for about 3 or 4 days, then it croaks with out of memory error.  I
would like to know how to allocate more memory at startup time.  I suspect
it can be inserted as one of the parameters in the startup scripts.

Thanks!

Jason

Disclaimer:
Please don't tell me that's the wrong way to take care of the problem.  My
vote is to just find the issue and fix it, but the webmaster is begging me
to find a way to increase memory to buy him some time.


-------------------------------------------------------
This SF.NET email is sponsored by: FREE  SSL Guide from Thawte are you
planning your Web Server Security? Click here to get a FREE Thawte SSL guide
and find the answers to all your  SSL security issues.
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


-------------------------------------------------------
This SF.NET email is sponsored by: FREE  SSL Guide from Thawte
are you planning your Web Server Security? Click here to get a FREE
Thawte SSL guide and find the answers to all your  SSL security issues.
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



-------------------------------------------------------
This SF.NET email is sponsored by: FREE  SSL Guide from Thawte
are you planning your Web Server Security? Click here to get a FREE
Thawte SSL guide and find the answers to all your  SSL security issues.
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to