Re: out of memory error while load testing

2005-07-15 Thread Bhaskar
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

Re: out of memory error while load testing

2005-07-15 Thread Bhaskar
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

Re: out of memory error while load testing

2005-07-14 Thread Bhaskar
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

Re: out of memory error while load testing

2005-07-14 Thread Peddireddy Srikanth
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 Connector port=80 maxThreads=500 minSpareThreads=25 maxSpareThreads=75

Re: out of memory error while load testing

2005-07-14 Thread Peddireddy Srikanth
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

RE: out of memory error

2005-04-26 Thread Mark Benussi
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

RE: out of memory error

2005-04-26 Thread Dale, Matt
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 issue

RE: out of memory error

2005-04-26 Thread Mark Benussi
-user@jakarta.apache.org 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 you need to increase it. -Original Message- From: Mark Benussi [mailto:[EMAIL PROTECTED] Sent: 26 April 2005 15:41 To: [EMAIL

Re: out of memory error

2005-04-26 Thread Trond G. Ziarkowski
Message Follows From: Dale, Matt [EMAIL PROTECTED] Reply-To: Tomcat Users List tomcat-user@jakarta.apache.org To: Tomcat Users List tomcat-user@jakarta.apache.org 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

Re: out of memory error with more than a few sites

2005-01-24 Thread bounce
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

Re: Re: out of memory error with more than a few sites

2005-01-24 Thread bounce
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

Re: out of memory error with more than a few sites

2005-01-24 Thread Tim Funk
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.

RE: Out of memory error

2003-04-02 Thread Shapira, Yoav
-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 memory error. But I now see that I also get

RE: Out of memory error

2003-04-02 Thread Shapira, Yoav
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 you

RE: Out of memory error

2003-04-02 Thread Filip Hanik
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 of memory error

RE: Out of memory error

2003-04-02 Thread Januski, Ken
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 error Howdy, Do you have the reverse

RE: Out of memory error

2003-04-01 Thread Darian Shimy
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

RE: Out of memory error

2003-04-01 Thread Turoff, Steve
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] Sent: Monday, March

RE: Out of memory error

2003-04-01 Thread Jacob Kjome
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 -Xms. This should

RE: Out of memory error

2003-04-01 Thread Nikolaos Giannopoulos
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 -Xms. This should take care of the memory

RE: Out of memory error

2003-04-01 Thread Januski, Ken
, 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/2003 -0600, you wrote: I had the same problem

RE: Out of memory error

2003-04-01 Thread Nikolaos Giannopoulos
: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/2003 -0600, you wrote: I had the same problem

RE: Out of memory error

2003-04-01 Thread Januski, Ken
: 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/2003 -0600, you wrote: I

RE: Out of memory error

2003-04-01 Thread Jacob Kjome
(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 [mailto:[EMAIL PROTECTED

RE: Out of memory error

2003-04-01 Thread Goehring, Chuck Mr., RCI - San Diego
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 wasn't in j2sdk1.4.0 http

Re: OUT OF MEMORY ERROR

2002-08-29 Thread Irina Lishchenko
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

RE: OUT OF MEMORY ERROR

2002-08-27 Thread Patrick Codere
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 connection

RE: OUT OF MEMORY ERROR

2002-08-26 Thread Mike Jackson
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:

RE: OUT OF MEMORY ERROR

2002-08-26 Thread Jay Gardner
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

RE: OUT OF MEMORY ERROR - PLEASE HELP

2002-08-21 Thread Shapira, Yoav
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

RE: OUT OF MEMORY ERROR - PLEASE HELP

2002-08-21 Thread Patrick Codere
: 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

RE: OUT OF MEMORY ERROR - PLEASE HELP

2002-08-21 Thread Shapira, Yoav
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 images. But for your current setup, using only tomcat, you probably need to increase the amount of memory

RE: OUT OF MEMORY ERROR - PLEASE HELP

2002-08-21 Thread Patrick Codere
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

RE: Out of Memory Error

2002-08-14 Thread Shapira, Yoav
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

Re: Out of Memory Error - plz help

2002-06-04 Thread oz
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 =

Re: Out of Memory Error - plz help

2002-06-04 Thread oz
Subject: Re: Out of Memory Error - plz help Please respond to Tomcat

RE: Out of Memory Error - plz help

2002-06-04 Thread Jack Li
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 your question

Re: Out Of Memory Error

2002-05-13 Thread Cammy Ng
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

RE: Out Of Memory Error

2002-05-13 Thread Heneghan
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 than you can

Re: Out Of Memory Error

2002-05-12 Thread Micael Padraig Og mac Grene
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!!! Thanks Amit

Re: Out Of Memory Error

2002-05-12 Thread Micael Padraig Og mac Grene
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. While

Re: Out Of Memory Error

2002-05-12 Thread Micael Padraig Og mac Grene
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,

Re: Out of Memory error - Tomcat 3.2.1

2001-07-31 Thread Somik Raha
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

RE: Out of Memory error - Tomcat 3.2.1

2001-07-31 Thread Emir Alikadic (ADNOC IST)
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

Re: Out of Memory error - Tomcat 3.2.1

2001-07-31 Thread Somik Raha
, Somik - Original Message - From: Emir Alikadic (ADNOC IST) [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 message in non-plain text format, which is in violation of this list's rules (you did

Re: Out of Memory error - Tomcat 3.2.1

2001-07-31 Thread Dmitri Colebatch
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

Re: Out of Memory error - Tomcat 3.2.1

2001-07-31 Thread Somik Raha
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

Re: Out of Memory error - Tomcat 3.2.1

2001-07-31 Thread Dmitri Colebatch
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

Re: Out Of Memory error

2001-03-19 Thread Martin Mauri
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

Re: Out Of Memory error

2001-03-19 Thread Scott T. Keller
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.

RE: Out Of Memory error

2001-03-19 Thread Tsalolikhin, Aleksey
ou 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" error Dear Aleksey, I've just re

Re: Out of memory error

2001-02-01 Thread Alexander Telnikoff
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

Re: Out of memory error

2001-02-01 Thread mike niemaz
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