/ utility to find out the root cause of OOM in
catalina.out log file.
Abhijeet
- Original Message -
From: Tim Funk
To: Tomcat Users List
Sent: Wednesday, November 19, 2003 7:50 PM
Subject: Re: OutOfMemory Error in Catalina
It may not be a leak ... http://jakarta.apache.org
that,
is there any other way / utility to find out the root cause of OOM in catalina.out log file.
Abhijeet
- Original Message -
From: Tim Funk
To: Tomcat Users List
Sent: Wednesday, November 19, 2003 7:50 PM
Subject: Re: OutOfMemory Error in Catalina
It may not be a leak
Howdy,
I tried to increase the heap size to 1200 MB in catalina.sh file
(JAVA_OPTS=-Xms64m -Xmx1200m), It didn't work. I was suggested one
more
It didn't work in what way? Did the JVM actually allocate 1200MB and
then die with an OutOfMemoryError, or did it never allocate that much
(e.g.
I can recommend OptimizeIt from Borland, saved me a couple of times :)
/Søren
-Original Message-
From: Abhijeet Selukar [mailto:[EMAIL PROTECTED]
Sent: 19. november 2003 14:20
To: Tomcat Users List
Subject: OutOfMemory Error in Catalina
Hi All,
Now a days i am stuck with a
It may not be a leak ... http://jakarta.apache.org/tomcat/faq/memory.html#why
-Tim
Abhijeet Selukar wrote:
Hi All,
Now a days i am stuck with a problem. I get exceptions in Catalina.out log file when my web application is running on that.
Is there any utility to find out, from
set JAVA_OPTS environment variable to your preferred max and min heap sizes
Example : JAVA_OPTS=-server -Xincgc -Xms128m -Xmx256m
Looking for Help : java -X
At 05:55 PM 8/25/2003 +0800, you wrote:
Hi ,
I am running a simple servlet/jsp on Tomcat 4.1.18 (on Solaris
machine with 4GB mem). The
When App1 reports an OutOfMemoryError, does it means that the error is due
to App1 ? or that error may be due to another application running the same
VM? or the same TomCat?
It is the VM.
Is there any good way to make those two apps run independantly?
Run two different tomcat instances (two
?
And how do i make the JVM reclaim memory?
Thanks everyone,
Pat
-Original Message-
From: Marinko, Jeff [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 15, 2002 5:58 PM
To: 'Tomcat Users List'
Subject: RE: OutOfMemory Error
Because you are not indicating what .class file you want to run
'
Subject: RE: OutOfMemory Error
But i'm still lost here. If my Standalone tomcat crashes because of
outofmemory problem, does that mean i need to change the heap size by
changing the heap size with all the classes in my webapp like this : java
-Xms128m -Xmx256m AllMyClasses
Could
PROTECTED]
Subject: RE: OutOfMemory Error
Please, how large are your pictures? Are they directly served by Tomcat? Do
you have other JSP / servlets running? How many clients or requests does it
take to crash?
-Original Message-
From: Patrick Codere [mailto:[EMAIL PROTECTED]]
Sent: 16
Please, what is your configuration (hardware, os, software installed, web applications
running...)?
-Original Message-
From: Patrick Codere [mailto:[EMAIL PROTECTED]]
Sent: 16 August 2002 3:55 PM
To: 'Tomcat Users List'
Subject: RE: OutOfMemory Error
Have two Tomcat Webapps
]
Subject: RE: OutOfMemory Error
Please, what is your configuration (hardware, os, software installed, web
applications running...)?
-Original Message-
From: Patrick Codere [mailto:[EMAIL PROTECTED]]
Sent: 16 August 2002 3:55 PM
To: 'Tomcat Users List'
Subject: RE: OutOfMemory Error
Please, what JVM? No SQL server? Is the search engine a commercial product? Do you
have a log?
-Original Message-
From: Patrick Codere [mailto:[EMAIL PROTECTED]]
Sent: 16 August 2002 4:13 PM
To: 'Tomcat Users List'
Subject: RE: OutOfMemory Error
my configuration is - hardware/os : 1
PROTECTED]
Subject: RE: OutOfMemory Error
Please, what JVM? No SQL server? Is the search engine a commercial product?
Do you have a log?
-Original Message-
From: Patrick Codere [mailto:[EMAIL PROTECTED]]
Sent: 16 August 2002 4:13 PM
To: 'Tomcat Users List'
Subject: RE: OutOfMemory Error
my
investigating in the logs, changing the trace
level...
-Original Message-
From: Patrick Codere [mailto:[EMAIL PROTECTED]]
Sent: 16 August 2002 4:20 PM
To: 'Tomcat Users List'
Subject: RE: OutOfMemory Error
Sorry,
JVM sun j2sdk, Have some jsp pages that connect to mysql database.
Search
Thanks for your help,
I'll check the log files and try and find something.
PAt
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 16, 2002 10:15 AM
To: [EMAIL PROTECTED]
Subject: RE: OutOfMemory Error
Please, you may find logs
Error
Thanks for your help,
I'll check the log files and try and find something.
PAt
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 16, 2002 10:15 AM
To: [EMAIL PROTECTED]
Subject: RE: OutOfMemory Error
Please, you may find logs
, August 16, 2002 10:24 AM
To: Tomcat Users List
Subject: RE: OutOfMemory Error
I just need help on web.xml file could you tell me how to make web.xml
which does not have all the dtd elements run in tomcat4 +
-Original Message-
From: Patrick Codere [mailto:[EMAIL PROTECTED]]
Sent: Friday
To answer your first question, I'm assuming you only have so much memory, so
if you keep allocating memory, you'll eventually run out and then you'll
have problems. As long as the JVM can reclaim memory, you should be
alright.
For your second question, it should look something like this:
JAVA
List'
Subject: RE: OutOfMemory Error
To answer your first question, I'm assuming you only have so much memory, so
if you keep allocating memory, you'll eventually run out and then you'll
have problems. As long as the JVM can reclaim memory, you should be
alright.
For your second question
To: 'Tomcat Users List'
Subject: RE: OutOfMemory Error
To answer your first question, I'm assuming you only have so much memory, so
if you keep allocating memory, you'll eventually run out and then you'll
have problems. As long as the JVM can reclaim memory, you should be
alright.
For your second
you must also specify something to execute :)
example:
java -Xmx128m -Xmx256m com.mycompany.HelloWorld
Shannon
-Original Message-
From: Patrick Codere [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 15, 2002 5:02 PM
To: 'Tomcat Users List'
Subject: RE: OutOfMemory Error
Can
'
Subject: RE: OutOfMemory Error
Thanks a lot,
Still, I really feel stupid here, but I tried java -Xms128m -Xmx256m
on the command prompt and get the Usage: java [-options] list
Thanks
-Original Message-
From: Marinko, Jeff [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 15, 2002 4
Hi!!
If you are using UNIX.
Tune the memory settings in Tomcat as appropriate for your application.
To do this, edit /usr/local/jakarta-tomcat/bin/tomcat.sh and locate the
following line (approximately line 121):
$JAVACMD
OMCAT_OPTS -Dtomcat.home=${TOMCAT_HOME} -Xms100663296 -Xmx134217728
Chances are you either:
1. Are using a very small stack (using -Xmx with a small number)
2. You are putting items into sessions that you aren't removing and
your sessions aren't expiring fast enough to keep your system in memory
3. You have a servlet with a
25 matches
Mail list logo