Re: OutOfMemory Errors

2004-12-15 Thread Michael Echerer
Hi, another idea... try to increase the size of the perm heap with -XX:permSize and -XX:maxPermSize. (See the JVM and garbage collector tuning docus from Sun for more information and google for more). Also try to enable the garbage collector log to check what happens to the perm memory in case

OutOfMemory Errors

2004-12-13 Thread Asim Alp
I'm trying to solve an OOME on our Tomcat. We profiled our application using JProfiler and there are no memory leakages on our end. Currently, I'm focusing on some system resource problems such as file descriptors. Would this be a valid problem on Windows Server 2003? And if so, how can I

RE: OutOfMemory Errors

2004-12-13 Thread Peter Crowther
From: Asim Alp [mailto:[EMAIL PROTECTED] I'm trying to solve an OOME on our Tomcat. Tomcat version? JVM version and settings? Application characteristics? Other libraries in use (eg JDBC)? We profiled our application using JProfiler and there are no memory leakages on our end. Currently,

RE: OutOfMemory Errors

2004-12-13 Thread Dale, Matt
2004 17:47 To: Tomcat Users List Subject: OutOfMemory Errors I'm trying to solve an OOME on our Tomcat. We profiled our application using JProfiler and there are no memory leakages on our end. Currently, I'm focusing on some system resource problems such as file descriptors. Would

RE: OutOfMemory Errors

2004-12-13 Thread George Sexton
, December 13, 2004 11:32 AM To: Tomcat Users List Subject: Re: OutOfMemory Errors Hello Peter, Sorry. My system config is: Windows Server 2003 Apache 2.0.49 (Win32) mod_ssl/2.0.51 OpenSSL/0.9.7d DAV/2 mod_jk/1.2.6 Tomcat 5.5.4 sun jdk 1.5.0-b64 We have a 2 node tomcat cluster each

Re: OutOfMemory Errors

2004-12-13 Thread Asim Alp
Thank you for the suggestion. Actually, we have upgraded from JDK 1.4.x to JDK 1.5.0 hoping to solve the problem, so I doubt that it is JDK related. On Mon, 13 Dec 2004 19:38:14 -0200, Ivan F. Martinez [EMAIL PROTECTED] wrote: On Mon, 13 Dec 2004 13:31:50 -0500 Asim Alp [EMAIL PROTECTED]

Re: OutOfMemory Errors

2004-12-13 Thread Ivan F. Martinez
On Mon, 13 Dec 2004 13:31:50 -0500 Asim Alp [EMAIL PROTECTED] wrote: AA Hello Peter, AA AA Sorry. My system config is: AA AA Windows Server 2003 AA Apache 2.0.49 (Win32) mod_ssl/2.0.51 OpenSSL/0.9.7d DAV/2 AA mod_jk/1.2.6 Tomcat 5.5.4 AA sun jdk 1.5.0-b64 Have you tried with JDK 1.4.x ? I

Re: OutOfMemory Errors

2004-12-13 Thread Asim Alp
Hello Peter, Sorry. My system config is: Windows Server 2003 Apache 2.0.49 (Win32) mod_ssl/2.0.51 OpenSSL/0.9.7d DAV/2 mod_jk/1.2.6 Tomcat 5.5.4 sun jdk 1.5.0-b64 We have a 2 node tomcat cluster each running with the -Xms128m -Xmx1024m options. We have a heavily loaded JDBC application

Registry problems followed by OutOfMemory errors

2004-12-10 Thread Asim Alp
Here is our configuration: Windows Server 2003 Apache 2.0.49 (Win32) mod_ssl/2.0.51 OpenSSL/0.9.7d DAV/2 mod_jk/1.2.6 Tomcat 5.5.4 sun jdk 1.5.0-b64 We have a 2 node tomcat cluster each running with the -Xms128m -Xmx1024m options. We have the following thread options set in the AJP/1.3 connector:

RE: Registry problems followed by OutOfMemory errors

2004-12-10 Thread Shapira, Yoav
: Registry problems followed by OutOfMemory errors Here is our configuration: Windows Server 2003 Apache 2.0.49 (Win32) mod_ssl/2.0.51 OpenSSL/0.9.7d DAV/2 mod_jk/1.2.6 Tomcat 5.5.4 sun jdk 1.5.0-b64 We have a 2 node tomcat cluster each running with the -Xms128m -Xmx1024m options. We have

Re: Registry problems followed by OutOfMemory errors

2004-12-10 Thread Asim Alp
you're out of another resource, such as file descriptors or threads. Yoav Shapira http://www.yoavshapira.com -Original Message- From: Asim Alp [mailto:[EMAIL PROTECTED] Sent: Friday, December 10, 2004 10:59 AM To: Tomcat Users List Subject: Registry problems followed by OutOfMemory errors Here

Re: Registry problems followed by OutOfMemory errors

2004-12-10 Thread Bill Barker
Alp [mailto:[EMAIL PROTECTED] Sent: Friday, December 10, 2004 10:59 AM To: Tomcat Users List Subject: Registry problems followed by OutOfMemory errors Here is our configuration: Windows Server 2003 Apache 2.0.49 (Win32) mod_ssl/2.0.51 OpenSSL/0.9.7d DAV/2 mod_jk/1.2.6 Tomcat 5.5.4 sun jdk

RE: OutOfMemory errors compiling JSPs on 5.0.16 and 5.5.4

2004-11-16 Thread Dale, Matt
I have a copy of the old jvmstat if you'd like me to email it to you direct? -Original Message- From: Kevin A. Burton [mailto:[EMAIL PROTECTED] Sent: 15 November 2004 19:51 To: Tomcat Users List Subject: Re: OutOfMemory errors compiling JSPs on 5.0.16 and 5.5.4 Dale, Matt wrote: I've

Re: OutOfMemory errors compiling JSPs on 5.0.16 and 5.5.4

2004-11-15 Thread Kevin A. Burton
Remy Maucherat wrote: On Sat, 13 Nov 2004 17:30:38 -0800, Kevin A. Burton [EMAIL PROTECTED] wrote: Remy Maucherat wrote: On Fri, 12 Nov 2004 17:17:28 -0800, Kevin A. Burton [EMAIL PROTECTED] wrote: - For all my JSPs I fetch them with the URL foo.jsp?jsp_precompile=true to trigger

Re: OutOfMemory errors compiling JSPs on 5.0.16 and 5.5.4

2004-11-15 Thread Kevin A. Burton
Dale, Matt wrote: I've not been following this thread but my guess would be that you are running out of space in the permanent generation of the heap. Get a hold of jvmstat from sun and run visualgc on your JVM, it should become obvious then which pool is running out of space. God! How

RE: OutOfMemory errors compiling JSPs on 5.0.16 and 5.5.4

2004-11-14 Thread Dale, Matt
- From: Kevin A. Burton [mailto:[EMAIL PROTECTED] Sent: 14 November 2004 01:31 To: Tomcat Users List Subject: Re: OutOfMemory errors compiling JSPs on 5.0.16 and 5.5.4 Remy Maucherat wrote: On Fri, 12 Nov 2004 17:17:28 -0800, Kevin A. Burton [EMAIL PROTECTED] wrote: - For all my JSPs I fetch

Re: OutOfMemory errors compiling JSPs on 5.0.16 and 5.5.4

2004-11-14 Thread Remy Maucherat
On Sat, 13 Nov 2004 17:30:38 -0800, Kevin A. Burton [EMAIL PROTECTED] wrote: Remy Maucherat wrote: On Fri, 12 Nov 2004 17:17:28 -0800, Kevin A. Burton [EMAIL PROTECTED] wrote: - For all my JSPs I fetch them with the URL foo.jsp?jsp_precompile=true to trigger precompilation How many

Re: OutOfMemory errors compiling JSPs on 5.0.16 and 5.5.4

2004-11-13 Thread Remy Maucherat
On Fri, 12 Nov 2004 17:17:28 -0800, Kevin A. Burton [EMAIL PROTECTED] wrote: - For all my JSPs I fetch them with the URL foo.jsp?jsp_precompile=true to trigger precompilation How many JSPs must be compiled to cause problems ? Note that the VM still shows plenty of memory so I'm not sure what

Re: OutOfMemory errors compiling JSPs on 5.0.16 and 5.5.4

2004-11-13 Thread Kevin A. Burton
Remy Maucherat wrote: On Fri, 12 Nov 2004 17:17:28 -0800, Kevin A. Burton [EMAIL PROTECTED] wrote: - For all my JSPs I fetch them with the URL foo.jsp?jsp_precompile=true to trigger precompilation How many JSPs must be compiled to cause problems ? About 50 or so... it changes every

OutOfMemory errors compiling JSPs on 5.0.16 and 5.5.4

2004-11-12 Thread Kevin A. Burton
I'm having a terrible time trying to get my JSPs compiled on Tomcat. We started having OutOfMemory problems a while back and I've tracked it down to JSP compilation. Here's what I can do to replicate the problem: - shutdown tomcat - remove the work directory - startup tomcat - For all my JSPs I

Re: setting opts to avoid OutOfMemory errors

2003-12-24 Thread Kagi (sm)
X-Kagi-AutoReply:r2db Hello, You sent an email that does not contain the formated purchase data that this email account is able to parse. So that we may be able to assist you, we offer the following suggestions. If you are writing to ask a question about a payment made to Kagi, you might be

Re: setting opts to avoid OutOfMemory errors

2003-12-20 Thread Kagi (sm)
X-Kagi-AutoReply:r2db Hello, You sent an email that does not contain the formated purchase data that this email account is able to parse. So that we may be able to assist you, we offer the following suggestions. If you are writing to ask a question about a payment made to Kagi, you might be

RE: setting opts to avoid OutOfMemory errors

2003-12-20 Thread Kagi (sm)
X-Kagi-AutoReply:r2db Hello, You sent an email that does not contain the formated purchase data that this email account is able to parse. So that we may be able to assist you, we offer the following suggestions. If you are writing to ask a question about a payment made to Kagi, you might be

Re: setting opts to avoid OutOfMemory errors

2003-12-19 Thread David Rees
David Strupl wrote: Sorry but how do I set the fork attribute of the JspServlet to true? Look at Tomcat's conf/web.xml, and you will see it. This seems like an obvoius memory leak in somewhere IMHO: snip Is this how is tomcat supposed to work (on SUN's JDK)? Your script will cause TC to run OOM

Re: setting opts to avoid OutOfMemory errors

2003-12-19 Thread David Strupl
David Rees wrote: David Strupl wrote: Sorry but how do I set the fork attribute of the JspServlet to true? Look at Tomcat's conf/web.xml, and you will see it. Aha. I see. I was editing only server.xml previously. This seems like an obvoius memory leak in somewhere IMHO: snip Is this how is

RE: setting opts to avoid OutOfMemory errors

2003-12-19 Thread Shapira, Yoav
Howdy, The fact that in the stock distribution the fork attrribute is set to false by default is IMHO not very good choice. Took me several days of headaches trying to find the leak in my code. When there is a disign choice slow versus crash for 1% of users I would choose slow and put into some

Re: setting opts to avoid OutOfMemory errors

2003-12-19 Thread David Strupl
Hi, Shapira, Yoav wrote: Howdy, The fact that in the stock distribution the fork attrribute is set to false by default is IMHO not very good choice. Took me several days of headaches trying to find the leak in my code. When there is a disign choice slow versus crash for 1% of users I would

RE: setting opts to avoid OutOfMemory errors

2003-12-19 Thread Shapira, Yoav
Howdy, Sorry - I was trying to use tomcat 4.1.29 and never looked at 5.0 docs. The same is documented in the places I mentioned for the tomcat 4.1 versions, e.g. http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jasper-howto.html. In 4.1 ones there are really vague advices regarding memory ;-(

Re: setting opts to avoid OutOfMemory errors

2003-12-19 Thread David Strupl
Shapira, Yoav wrote: The same is documented in the places I mentioned for the tomcat 4.1 versions, e.g. http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jasper-howto.html. You are right. It is there. I sincerely apologize but I have read only http://jakarta.apache.org/tomcat/faq/memory.html and

RE: setting opts to avoid OutOfMemory errors

2003-12-19 Thread Shapira, Yoav
Howdy, You are right. It is there. I sincerely apologize but I have read only http://jakarta.apache.org/tomcat/faq/memory.html and it was not there, nore in the links mentioned there. Should have searched longer ... I just added there as well, especially for this situation. prominent and easy

Re: setting opts to avoid OutOfMemory errors

2003-12-18 Thread David Strupl
Hi, David Rees wrote: All increasing the -Xmx256M setting will do is delay the onset of the OOM condition, it won't fix it. If you compile a lot of JSPs, make sure that in the container's web.xml you set the fork attribute of the JspServlet to true or use jikes, otherwise that will leak

RE: setting opts to avoid OutOfMemory errors

2003-12-15 Thread Shapira, Yoav
: Saturday, December 13, 2003 5:52 PM To: Tomcat Users List Subject: Re: setting opts to avoid OutOfMemory errors Hans Steinraht wrote: Maybe someone can help me out with some questions I have to avoid the OutOfMemory errors that I have from time to time The computer where Tomcat, version 4.1.24

setting opts to avoid OutOfMemory errors

2003-12-13 Thread Hans Steinraht
Maybe someone can help me out with some questions I have to avoid the OutOfMemory errors that I have from time to time The computer where Tomcat, version 4.1.24, is running is a linux machine wit 500M memory and j2sdk1.4.1. I have read in this newsgroup that the solutions to avoid OutOfMemory

setting opts to avoid OutOfMemory errors

2003-12-13 Thread Hans Steinraht
Maybe someone can help me out with some questions I have to avoid the OutOfMemory errors that I have from time to time The computer where Tomcat, version 4.1.24, is running is a linux machine wit 500M memory and j2sdk1.4.1. I have read in this newsgroup that the solutions to avoid OutOfMemory

Re: setting opts to avoid OutOfMemory errors

2003-12-13 Thread David Rees
Hans Steinraht wrote: Maybe someone can help me out with some questions I have to avoid the OutOfMemory errors that I have from time to time The computer where Tomcat, version 4.1.24, is running is a linux machine wit 500M memory and j2sdk1.4.1. I have read in this newsgroup that the solutions