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
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
: ) Yes Matt good point.
For future reference if anyone is seeing any disk full issues then they do
not have a big enough hard disk...
Original Message Follows
From: "Dale, Matt" <[EMAIL PROTECTED]>
Reply-To: "Tomcat Users List"
To: "Tomcat Users Li
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
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 reads without using a methodology to read
in batches.
You are
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
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
l Message-
> From: Jacob Kjome [mailto:[EMAIL PROTECTED]
> 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
>
o:[EMAIL PROTECTED]
> 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/b
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]
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]
> Sent: Monday, March 31, 2003 12:21 PM
> To: Tomcat Users List
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
Hi Pat,
Not closing a database connection should not run you out of memory, unless
you have ALOT of traffic or no memory to begin with. Connections should time
out after a period of time, if you have relinquished to reference to them.
It is obviously best to close them explicitly when you are fin
If you don't close the connection you'll eventually run the database out
of connections. Also an open connection will use memory within the JVM
and build up the memory in use. Another thing to do is to avoid using
strings, use stringbuffers instead. Try to avoid doing things like this:
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
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. You can do this via
the -Xmx parameter to java. You set that parameter in your environment
Hi,
What is the JSP page supposed to do? ;) Could it possibly do something
that exceeds 64MB in memory requirements? That's the default JVM max
heap allocation. If you need more memory, use the -Xmx java runtime
option via the JAVA_OPTS variable in catalina.sh.
By the way, you would probably g
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
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();
long mem = rt.total
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
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
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 To
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
Martin:
You need to modify the tomcat.sh script and enter values in the TOMCAT_OPTS
field. Example of an entry...
tomcat_opts="-Xmx128m -Xms16m" Solved all of my issues. When invoked
correctly, you will see the new java params in the ps -ef output for tomcat.
I.E. /usr/java/bin/../bin/sparc
Dear Aleksey,
I've just read the documents you suggested, but as I've never used that
command, I'm afraid I didn't quite understand what and how to increase the
memory heap, any example?
thanks!
Martin
> Dear Martin,
>
> Yes. Please see "Tomcat - A Minimalistic User's Guide" at
>
http://jakar
Dear Martin,
Yes. Please see "Tomcat - A Minimalistic User's Guide" at
http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/uguide/tomcat_ug.htm
l, the "Modify the Default JVM Settings" section.
Yours,
Aleksey
> -Original Message-
> From: Martin Mauri [SMTP:[EMAIL PROTECTED]
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 memory. Below is
> the
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: Out of memory error
54 matches
Mail list logo