Howdy,
Thanks. Out of curiosity, what sort of RAM allocations would you
typically
do on a production UNIX machine? Obviously I don't want to use up all
of
my memory, but this and mySQL are my only two production apps.
There's no general answer: it depends on both your application and your
- HealthCare marketing tools
mailto:[EMAIL PROTECTED]
http://www.NequalsOne.com
-Original Message-
From: neal cabage [mailto:[EMAIL PROTECTED]
Sent: Friday, November 14, 2003 5:31 PM
To: Tomcat Users List
Subject: RE: How to monitor RAM Usage
Thanks. How do I issue such a command
Neal,
This will get you the total amount of memory available to the JVM tomcat
is running in:
Runtime.getRuntime().totalMemory()
And this will get you the amount free
Runtime.getRuntime().freeMemory()
Nathan McMinn
Application Developer
NequalsOne -
neal cabage wrote:
I'm currently having a problem wherein Tomcat crashes about once per week and gives the error Java.error.OutOfMemory but I can't see any diagnostics by which to establish any patterns. I also can't find this information on the Apache site, after having looked for 1/2 hour.
Thanks. How do I issue such a command? Command line, etc?
Neal
Nathan Mcminn [EMAIL PROTECTED] wrote:
Neal,
This will get you the total amount of memory available to the JVM tomcat
is running in:
Runtime.getRuntime().totalMemory()
And this will get you the amount free
Thanks. Out of curiosity, what sort of RAM allocations would you typically do on a
production UNIX machine? Obviously I don't want to use up all of my memory, but this
and mySQL are my only two production apps.
'
Thanks.
Neal
James Black [EMAIL PROTECTED] wrote:
neal cabage wrote:
I'm
Thanks. Out of curiosity, what sort of RAM allocations would you typically
do on a production UNIX machine? Obviously I don't want to use up all of
my memory, but this and mySQL are my only two production apps.
It depends on what your application does. Mine does a lot of graphs, and
the