You can change the JVM option, -Xmx to increase the heap size in
catalina.sh and see if it can accomidate more requests
Peddireddy Srikanth wrote:
I forgot to give details about my Application and test.
These details might give you people an idea about the problem area.
In this app. users has
start tomcat with -Xrunprof and look at the profile to figureout if
there are any objects consuming more memory(leaks). Thread.activeCount()
gives you total number of active threads in the current JVM.
Refer to javax.management to know more about the Mbeans to monitor the
tomcat.
You need to w
I forgot to give details about my Application and test.
These details might give you people an idea about the problem area.
In this app. users has to enter login ID and pwd in home page which
will be sent to a resource which validates these details, say
"LoginValidation" this resource will then fo
Hi,
Its giving out of memory over a period of time (i.e after test ran for
some time ) not immediately after starting the test
Follwing settings are given in my server.xml
For HTTP
For HTTPS
By active threads do u mean the thread count shown in windows task
manager or is there any way to
You need to check on whether it is giving Outofmemory error is
immediately after starting loadtesting with 1500 users or over period of
time. If it is over period of time then you need to check whether there
are any memory leaks. Or your design for ex., it might happen if you
query db and that
Hi All,
Recently we started load testing our application using Jmeter.
Following error is coming in tomcat while test is run at higher loads like 1500
virtual users etc
==
SEVERE: Caught exception (java.lang.OutOfMemoryError) executing org.apache.t
This one of the remedies proposed. There is also a bug reported, and a patch
for it. Finally you can try swallowOutput=false in your context.xml.
Pedro Nevado
De: sysdba [EMAIL PROTECTED]
Enviado: viernes, 15 de abril de 2005 15:49
Para: Tomcat Users List
Asunto: Memory Leak Solved
We have strug
ginal Message Follows
From: "Dale, Matt" <[EMAIL PROTECTED]>
Reply-To: "Tomcat Users List"
To: "Tomcat Users List"
Subject: RE: out of memory error
Date: Tue, 26 Apr 2005 15:42:51 +0100
Or you simply don't have enough memory allocated to the JVM and yo
omcat-user@jakarta.apache.org
Subject: RE: out of memory error
I hit this issue today, for a host of reasons.
You are getting this error because the ammount of memory allocated to the
JVM running Tomcat has been taken up. This ould be for the following
reasons:
You are doing some large database rea
Or you simply don't have enough memory allocated to the JVM and you need to
increase it.
-Original Message-
From: Mark Benussi [mailto:[EMAIL PROTECTED]
Sent: 26 April 2005 15:41
To: [EMAIL PROTECTED]; tomcat-user@jakarta.apache.org
Subject: RE: out of memory error
I hit this
Livanov <[EMAIL PROTECTED]>
Reply-To: Sergey Livanov <[EMAIL PROTECTED]>
To: Tomcat users
Subject: out of memory error
Date: Tue, 26 Apr 2005 17:10:02 +0300
Pls help me to investigate type of error. Sometimes pages are not
downloaded. We have looked into Log file and found out a mes
Pls help me to investigate type of error. Sometimes pages are not
downloaded. We have looked into Log file and found out a message “out of
memory”. When is this error appeared and what do we have to do to avoid this
type of error?
2005-04-25 08:15:10 ApplicationDispatcher[] Servlet.service() for
http://jakarta.apache.org/tomcat/faq/memory.html
I bet your machine has some kernel limits on number of open files that you
are passing.
-Tim
Helmut Eggebert wrote:
Hi,
I am getting an out of memory error when I start Tomcat
Geachte relatie,
Het door u gebruikte e-mailadres is niet meer actief. U kunt uw e-mailbericht
sturen naar [EMAIL PROTECTED] of dit bericht beantwoorden.
Bedankt voor uw medewerking,
Met vriendelijke groet,
ATP Hypotheken
Het Spoor 40
3994 AK Houten
Tel. 030 750 25 33
Fax. 030 750 25 88
[EMAI
Geachte relatie,
Het door u gebruikte e-mailadres is niet meer actief. U kunt uw e-mailbericht
sturen naar [EMAIL PROTECTED] of dit bericht beantwoorden.
Bedankt voor uw medewerking,
Met vriendelijke groet,
ATP Hypotheken
Het Spoor 40
3994 AK Houten
Tel. 030 750 25 33
Fax. 030 750 25 88
[EMAI
Hi,
I am getting an out of memory error when I start Tomcat. I read posts on
this in the past and followed some instructions to increase by min and max
memory settings in catalina.sh. I have 1028 MB on this server and so I
increased the min to 128 and the max to 768.
The server was working
To: Tomcat Users List
Subject: RE: help with out of memory error
I've seen most of that info before, but thanks for pointing it out. I'm
really kind of clueless about what the problem could be. When I look at the
Virtual Memory for Tomcat in the Task Manager, I see about 1.6 GB
n flags as well as potentially compiling with fork set to
true...
Hope that helps.
Regards,
Carl
-Original Message-
From: Stephen Charles Huey [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 23, 2004 12:56 AM
To: Tomcat Users List
Subject: RE: help with out of memory error
I've se
"Phillip Qin" <[EMAIL PROTECTED]>
To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
Date: Mon, 22 Nov 2004 16:56:25 -0500
Subject: RE: help with out of memory error
Have you looked at this page?
http://jakarta.apache.org/tomcat/faq/memory.html
-Origi
Have you looked at this page?
http://jakarta.apache.org/tomcat/faq/memory.html
-Original Message-
From: Stephen Charles Huey [mailto:[EMAIL PROTECTED]
Sent: November 22, 2004 4:50 PM
To: Tomcat User
Subject: help with out of memory error
Is this just a really ambiguous error message
Is this just a really ambiguous error message, or are there some
specific places I can be hunting for an issue:
Nov 22, 2004 3:53:42 PM
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable run
SEVERE: Caught exception executing
[EMAIL PROTECTED], terminating thread
java.lang.OutOfMemoryError:
re the limits for each process/user are. One
>> message found from google said PTHREAD_THREADS_MAX could be the max
>> thread count per process. In my /usr/include/bits/local_lim.h, I have
>>
>> /* The number of threads per process. */
>> #define _POSIX_THREAD_TH
ve
/* The number of threads per process. */
#define _POSIX_THREAD_THREADS_MAX 64
/* This is the value this implementation supports. */
#define PTHREAD_THREADS_MAX 16384
16384 is large enough, I believe. Then what could be the reason of the
error?
By the way, the "Out of Memory" erro
ave
/* The number of threads per process. */
#define _POSIX_THREAD_THREADS_MAX 64
/* This is the value this implementation supports. */
#define PTHREAD_THREADS_MAX 16384
16384 is large enough, I believe. Then what could be the reason of the
error?
By the way, the "Out of Memory&q
h, I have
/* The number of threads per process. */
#define _POSIX_THREAD_THREADS_MAX 64
/* This is the value this implementation supports. */
#define PTHREAD_THREADS_MAX 16384
16384 is large enough, I believe. Then what could be the reason of the
error?
By the way, the "Out o
When you get "java.lang.OutOfMemoryError: unable to create new native thread"
it means you are running into an operating system limit. You can give the JVM
1 Exabyte of memory and you'll still get this error.
Look at the kernel parameters for your machine and the following limits:
1) Threads all
Hi,
I have stunk on this problem for almost 2 weeks. :-(
In these two weeks, I have tried many methods, but it still doesn't work.
I built a system to run TPCW benchmark. One web and application server,
with tomcat4.0 running, one database with mysql4.0 running on it and
several client machine
ing!
As far as the 1.4.1 I'm glad I'm not using it. It's hard to believe that you
can't reuse StringBuffers.
Ken
-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 02, 2003 9:14 AM
To: Tomcat Users List
Subject: RE: Out of memory erro
If you are using jdk1.4.1 you could be a victim of:
http://developer.java.sun.com/developer/bugParade/bugs/4724129.html
> -Original Message-
> From: Januski, Ken [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, April 01, 2003 3:22 PM
> To: Tomcat Users List
> Subject: RE: Out
Howdy,
>(2) I think its silly that SUN has slated fixing this bug for 1.5 and
their
>workaround makes very little sense - Anyone know what the following
stated
>work around translates to in actual code?
>
>"Don't reuse StringBuffers. If you do reuse them, check their capacity
and
>make sure that
>-Original Message-
>From: Januski, Ken [mailto:[EMAIL PROTECTED]
>Sent: Tuesday, April 01, 2003 6:22 PM
>To: Tomcat Users List
>Subject: RE: Out of memory error
>
>Thanks Nikolaos,
>
>The multiple (100 per minute) mapping server lines occur before the out
of
>memo
s a bunch of problems reported recently on this list.
-Original Message-
From: Jacob Kjome [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 01, 2003 2:38 PM
To: Tomcat Users List
Subject: RE: Out of memory error
could be because of this awful bug introduced in j2sdk1.4.1. It
k down the cause (or at
least fix it so it doesn't recur).
Ken
-Original Message-
From: Nikolaos Giannopoulos [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 01, 2003 6:07 PM
To: Tomcat Users List
Subject: RE: Out of memory error
> -Original Message-
> From: Januski, Ken [m
Thanks Nikolaos,
The multiple (100 per minute) mapping server lines occur before the out of
memory error. But I now see that I also get these on days when there is no
memory problem. So I guess they're unrelated. It just seems odd to see so
many of them.
I'll try the -Xms and -Xmx sol
appearing *before* the
initial out of memory error or *after* - if the're any before then I would
suggest investigating them otherwise I would guess that fixing your out of
memory error may fix your other error messages.
--Nikolaos
> -Original Message-
> From: Jacob Kjome [mailt
ROTECTED]
Sent: Tuesday, April 01, 2003 5:38 PM
To: Tomcat Users List
Subject: RE: Out of memory error
could be because of this awful bug introduced in j2sdk1.4.1. It wasn't in
j2sdk1.4.0
http://developer.java.sun.com/developer/bugParade/bugs/4724129.html
Jake
At 04:16 PM 4/1/200
I tried using the -Xmx and -Xms
> >switches, but nothing seemed to help. I then switched to IBMJava2-14 and
> >it solved the problem.
> >
> >Steve
> >
> >-Original Message-
> >From: Darian Shimy [mailto:[EMAIL PROTECTED]
> >Sent: Tuesday, Apri
thing seemed to help. I then switched to IBMJava2-14 and
it solved the problem.
Steve
-Original Message-
From: Darian Shimy [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 01, 2003 1:16 PM
To: 'Tomcat Users List'
Subject: RE: Out of memory error
Set the memory using -Xmx and -Xm
omcat Users List'
Subject: RE: Out of memory error
Set the memory using -Xmx and -Xms. This should take care of the memory
problems.
If you want to monitor the heap usage, add -verbose:gc
--
Darian Shimy
> -Original Message-
> From: Januski, Ken [mailto:[EMAIL PROTECTED]
t Users List
> Subject: Out of memory error
>
>
> Hi,
>
> Very occasionally my Tomcat server runs into out of memory
> errors. I'ts not
> a heavily used server, less than 10 users a day I'd guess on
> an Intranet.
> But every month or so it runs into memo
oryError
Can anyone tell me whether the first lines indicate a cause of the out of
memory error or whether they're just another symptom of running out of
memory?
Thanks for any ideas,
Ken
-
To unsubscribe, e-mail: [E
Hi,
I am sorry, Iam posting this question again, as I didn't get any response for this
question
I am running tomcat 4.0.4 on redhat 7.3 dual processor machine(2-4-18-3SMP) with
j2sdk1.4.1 for my web application,
The problem is after couple of hours(6 or 7 hours after 7 or more users
Hi,
I am running tomcat 4.0.4 on redhat 7.3 dual processor machine(2-4-18-3SMP) with
j2sdk1.4.1 for my web application,
The problem is after couple of hours(6 or 7 hours after 7 or more users hit the
system), tomcat crashes and I ened up finding "kernel out of memory killing java
proces
On Tuesday 27 August 2002 18:41, you wrote:
> Hi mike,
>
> Well, i tried changing the jvm through catalina.bat (tc 4.0.4) by
> adding the Catalina_opts = -Xms512m -Xmx512m but it seems it didn't change
> anything in the total memory cause I still see it being at 66m
> (www.motovan.com/Memory
l for now and will try to incorporate
servlet by servlet until i found where the error comes from.
Thanks, Pat
-Original Message-
From: Mike Jackson [mailto:[EMAIL PROTECTED]]
Sent: August 26, 2002 6:31 PM
To: Tomcat Users List
Subject: RE: OUT OF MEMORY ERROR
If you don't close the
x27;Tomcat Users List'
Subject: OUT OF MEMORY ERROR
Hi everyone,
I have been getting this error for the past few weeks without
solving the issue. But I just found out that I had forgotten to close a
database connection. Could that have been the problem? Time will tell, but
what exact
e.
I use Oracle's XSQL Servlet, seems to work great and also seems to be less
filling (memory filling that is).
--mikej
-=-
mike jackson
[EMAIL PROTECTED]
> -Original Message-
> From: Patrick Codere [mailto:[EMAIL PROTECTED]]
> Sent: Monday, August 26, 2002 3:15 PM
&g
Hi everyone,
I have been getting this error for the past few weeks without
solving the issue. But I just found out that I had forgotten to close a
database connection. Could that have been the problem? Time will tell, but
what exactly happens when you don't close a db connection?
Tha
Thanks a lot.
-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]]
Sent: August 21, 2002 10:29 AM
To: Tomcat Users List
Subject: RE: OUT OF MEMORY ERROR - PLEASE HELP
Hi,
Only one of CATALINA_OPTS or JAVA_OPTS is needed, not both. See if it
works for you with 512MB. It
-Xmx512m
>
>-Original Message-
>From: Shapira, Yoav [mailto:[EMAIL PROTECTED]]
>Sent: August 21, 2002 10:04 AM
>To: Tomcat Users List
>Subject: RE: OUT OF MEMORY ERROR - PLEASE HELP
>
>
>Howdy,
>You may wish to have Apache, not tomcat, serve static content such as
: August 21, 2002 10:04 AM
To: Tomcat Users List
Subject: RE: OUT OF MEMORY ERROR - PLEASE HELP
Howdy,
You may wish to have Apache, not tomcat, serve static content such as
images.
But for your current setup, using only tomcat, you probably need to
increase the amount of memory available to the JVM
ChemInformatics
>-Original Message-
>From: Patrick Codere [mailto:[EMAIL PROTECTED]]
>Sent: Wednesday, August 21, 2002 10:03 AM
>To: 'Tomcat Users List'
>Subject: OUT OF MEMORY ERROR - PLEASE HELP
>
>Hi everyone,
>
> Here is my situation.
>-NT,
Hi everyone,
Here is my situation.
-NT,
-Tomcat 4.0.3
- 2 webapps that have a link to each other
- catalog with Thousand of jpegs (70kb each)
After a while Tomcat crashed with java.lang.outofmemory problem.
Before crash, get errors in my logs:
java.net.SocketException: Software cause
day, August 14, 2002 4:03 AM
>To: [EMAIL PROTECTED]
>Subject: Out of Memory Error
>
>hello
>
>I simply try to access a jsp page which is in the
>folder $TOMCAT_HOME/webapps/ROOT and what i get on the
>browser is << Out of Memory Error >>
>what could be a poss
hello
I simply try to access a jsp page which is in the
folder $TOMCAT_HOME/webapps/ROOT and what i get on the
browser is << Out of Memory Error >>
what could be a possible solution
thanx in advance
=
# Lalit Nagpal #
__
in setclasspath.bat file set JAVA_OPTS="-ms10M -mx512M"
Jack Li
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 04, 2002 4:34 AM
To: Tomcat Users List
Subject: Re: Out of Memory Error - plz help
I'm not sure this answers you
hello friends,
I get this wierd error "Out of Memory --- No Stack
Trace". Actually i have a form that a student fills up
attaches his mark statement (scanned image) and
photograph. The form is received properly on the
server but then the server goes down any time - giving
the output as
10:33 AM Subject: Re: Out of Memory Error - plz
help
Please respond
I'm not sure this answers your question, but hopefully:
1. I can't say what the cause for the out of memory error is, but if you
are writing in Java (JSP or servlet), you can try and check the memory
status on your computer. This is done by:
Runtime rt = Runtime.getRuntime()
hello friends,
I get this wierd error "Out of Memory --- No Stack
Trace". Actually i have a form that a student fills up
attaches his mark statement (scanned image) and
photograph. The form is received properly on the
server but then the server goes down any time - giving
the output as
EMAIL PROTECTED]]
Sent: Monday, May 13, 2002 1:20 AM
To: Tomcat Users List
Subject: Re: Out Of Memory Error
My guess, though, is that you are trying to do a database job with
objects. Don't know what database you are using, but whichever one it is,
it usually has some ways to do it better th
put -Xmx512m on option (512 is max memory before it crash)
- Original Message -
From: "Micael Padraig Og mac Grene" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Sunday, May 12, 2002 10:20 PM
Subject: Re: Out Of Memory Error
>
My guess, though, is that you are trying to do a database job with
objects. Don't know what database you are using, but whichever one it is,
it usually has some ways to do it better than you can using objects to
order the data. I learned that the hard way. Micael
At 05:54 AM 5/13/02 +0100, y
Try java on the command line with nothing else, and it will give you the
information. Also, you can go to a bookstore and read Chapter 8 in Java in
a Nutshell on java.
Micael
At 05:54 AM 5/13/02 +0100, you wrote:
>Hi All,
>I am generating a report using servlets which has
>7 records. Whil
Look at your options under the java command.
At 05:54 AM 5/13/02 +0100, you wrote:
>Hi All,
>I am generating a report using servlets which has
>7 records. While processing it gives an
>OutOfMemory Error. Can any one tell me how and where
>to add memory? My RAM is 512MB
>
>
>URGENT!!!
>
>Thank
Hi All,
I am generating a report using servlets which has
7 records. While processing it gives an
OutOfMemory Error. Can any one tell me how and where
to add memory? My RAM is 512MB
URGENT!!!
Thanks
Amit Lonkar
Ever
Somik,
On Tue, 31 Jul 2001, Somik Raha wrote:
> Any ideas (is there any way to get more info about the threads that Tomcat
> creates) ?
>From what you said it does indeed sound like a configuration problem. I
had thought from your earlier email that you were creating threads
yourself in the ser
Hi Dmitri,
Thanks for writing.
> Are there really more than 1000 threads? When I start tomcat I get about
> 35 threads... are you running a standardish configuration or have you
> changed things?
When I start tomcat, I get around the same threads as you. When the servlets
get accessed, the thr
Somik,
Are there really more than 1000 threads? When I start tomcat I get about
35 threads... are you running a standardish configuration or have you
changed things?
When you say you've checked your servlets and none of them have threads
that dont end - are you sure? maybe post one of your ser
Hi,
Sorry for posting earlier in
Rich Text.
I am using Tomcat 3.2.1 with
Apache.
I find a strange phenomenon -
whenever an http request is made, a tomcat thread is created. But when the
servlet finishes, the thread is not destroyed. This results in a big problem -
after some
nd.
Oops! Very sorry about that.
Regards,
Somik
- Original Message -
From: "Emir Alikadic (ADNOC IS&T)" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, July 31, 2001 3:57 PM
Subject: RE: Out of Memory error - Tomcat 3.2.1
> 1. You're posting a messag
1. You're posting a message in non-plain text format, which is in violation
of this list's rules (you did read the list's FAQ, didn't you?). Your
message is thus likely being ignored. Post in plain text as required and
someone will probably respond.
2. Your original message was posted 4 hours a
Wondering if anyone has any idea about this issue.
Would appreciate a reply..
Yours,
Somik
- Original Message -
From:
Somik Raha
To: [EMAIL PROTECTED]
Sent: Tuesday, July 31, 2001 11:17
AM
Subject: Out of Memory error - Tomcat
3.2.1
Hi,
I am using
Hi,
I am using Tomcat 3.2.1 with
Apache.
I find a strange phenomenon -
whenever an http request is made, a tomcat thread is created. But when the
servlet finishes, the thread is not destroyed. This results in a big problem -
after sometime, an OutOfMemory exception is thrown - with
al Message-
From: Thomas S [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 18, 2001 11:05 PM
To: [EMAIL PROTECTED]
Subject: Help!! "Tomcat-3.2.2 Out of Memory Error"
Hello,
Please help me
Config:- Apache-1.3.14 +Tomcat 3.2.2 with mod_jk and Sun JDK 1.3 in RH-Linux
7.0
I am getting
*100s* of Megs (e.g.,
> -Xms200m -Xmx400m), not merely 8-64.
>
> Thoughts?
>
> -jwh
>
>
> -Original Message-
> From: Thomas S [mailto:[EMAIL PROTECTED]]
> Sent: Monday, June 18, 2001 11:05 PM
> To: [EMAIL PROTECTED]
> Subject: Help!! "Tomcat-3.2.2 Out of
Hello,
Please help me
Config:- Apache-1.3.14 +Tomcat 3.2.2 with mod_jk and Sun JDK 1.3 in RH-Linux
7.0
I am getting out of memory error in the tomcat tc logs. Tomcat servers
servlets and jsp with jdbc connections. This problem seems to be periodic
after 12-13 hrs of tomcat restart. We
va, you can see it's documentation for the syntax it wants.
Hope this helps,
Aleksey
> -Original Message-
> From: Martin Mauri [SMTP:[EMAIL PROTECTED]]
> Sent: Monday, March 19, 2001 11:19 AM
> To: [EMAIL PROTECTED]
> Subject: Re: "Out Of Memory" err
ify the Default JVM Settings" section.
> >
> > Yours,
> > Aleksey
> >
> > > -Original Message-
> > > From: Martin Mauri [SMTP:[EMAIL PROTECTED]]
> > > Sent: Monday, March 19, 2001 9:47 AM
> > > To: [EMAIL PROTECTED]
> > > S
TED]]
> > Sent: Monday, March 19, 2001 9:47 AM
> > To: [EMAIL PROTECTED]
> > Subject: "Out Of Memory" error
> >
> > Hi users!
> >
> > I'm trying to retrieve a set of rows from a Postgres database v7.0.3
with
> > its JDBC driver, but af
in Mauri [SMTP:[EMAIL PROTECTED]]
> Sent: Monday, March 19, 2001 9:47 AM
> To: [EMAIL PROTECTED]
> Subject: "Out Of Memory" error
>
> Hi users!
>
> I'm trying to retrieve a set of rows from a Postgres database v7.0.3 with
> its JDBC driver, but af
Hi users!
I'm trying to retrieve a set of rows from a
Postgres database v7.0.3 with its JDBC driver, but after some minutes I get the
"Out Of Memory" error. First I thought it could be a database problem, but when
I execute the query manually, it works fine. So I think that
Hi users!
I'm trying to retrieve a set of rows from a
Postgres database v7.0.3 with its JDBC driver, but after some minutes I get the
"Out Of Memory" error. First I thought it could be a database problem, but when
I execute the query manually, it works fine. So I think that
Passing -mx256m to your java command would certainly solve your pb,
although it is not a solution ;-(
--mike
"Jurrius, Mark" wrote:
> Using Apache and Tomcat 3.2 I'm getting an out of memory error. Tomcat was
> installed on a HP Unix box, version 10.2 and using 128 MB me
We got a similar out of memory error. It turned out it was caused by a temp file used
by Jbuilder, which was placed in ./tomcat/lib by mistake.
- Original Message -
From: Jurrius, Mark <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: 01 February 2001 22:04
Subject: O
Using Apache and Tomcat 3.2 I'm getting an out of memory error. Tomcat was
installed on a HP Unix box, version 10.2 and using 128 MB memory. Below is
the part of the error message. Is this a thread problem? Thanks in
advance
86 matches
Mail list logo