RE: out of memory problem. Help!

2004-01-21 Thread Cox, Charlie
o not have time to mess with this right now, but I am interested to know if it fixes the leak. Charlie > -Original Message- > From: news [mailto:[EMAIL PROTECTED] On Behalf Of David Strupl > Sent: Monday, January 19, 2004 2:08 PM > To: [EMAIL PROTECTED] > Subject: Re: ou

Re: out of memory problem. Help!

2004-01-19 Thread David Strupl
: Re: out of memory problem. Help! Remy Maucherat wrote: This is not true: there's indeed a memory leak with 5.0.16, but it would occur only with specific traffic patterns. It will not bring a server down in just a few requests. Indeed. The thread pool has to grow and shrink for this to h

RE: out of memory problem. Help!

2004-01-19 Thread Filip Hanik
set maxSpareThreads=minSpareThreads=maxThreads will cause the system to never shrink the pool Filip -Original Message- From: news [mailto:[EMAIL PROTECTED] Behalf Of David Strupl Sent: Monday, January 19, 2004 9:58 AM To: [EMAIL PROTECTED] Subject: Re: out of memory problem. Help! Remy

Re: out of memory problem. Help!

2004-01-19 Thread David Strupl
Remy Maucherat wrote: This is not true: there's indeed a memory leak with 5.0.16, but it would occur only with specific traffic patterns. It will not bring a server down in just a few requests. Indeed. The thread pool has to grow and shrink for this to happen. Unfortunatelly quite common e.g. day

Re: out of memory problem. Help!

2004-01-19 Thread Remy Maucherat
...does not seem to be a binary download yet I suggest you continue investigating with your profiler: you have a different problem. -Original Message- From: David Strupl [mailto:[EMAIL PROTECTED] Sent: 19 January 2004 17:00 To: [EMAIL PROTECTED] Subject: Re: out of memory problem. Help! If

Re: out of memory problem. Help!

2004-01-19 Thread David Strupl
stable...does not seem to be a binary download yet Cheers ADC -Original Message- From: David Strupl [mailto:[EMAIL PROTECTED] Sent: 19 January 2004 17:00 To: [EMAIL PROTECTED] Subject: Re: out of memory problem. Help! If you use tomcat 5.0.x upgrade to 5.0.18. If you use 4.1.x downgrade to

RE: out of memory problem. Help!

2004-01-19 Thread Allistair Crossley
binary download yet Cheers ADC -Original Message- From: David Strupl [mailto:[EMAIL PROTECTED] Sent: 19 January 2004 17:00 To: [EMAIL PROTECTED] Subject: Re: out of memory problem. Help! If you use tomcat 5.0.x upgrade to 5.0.18. If you use 4.1.x downgrade to 4.1.27. There is a

Re: out of memory problem. Help!

2004-01-19 Thread David Strupl
u for your attention. [EMAIL PROTECTED] 01/19/04 01:20AM >>> Check session-timeout in web.xml. -1 is never timeout -1 -Original Message- From: Christophe Andreoli [mailto:[EMAIL PROTECTED] Sent: Friday, January 16, 2004 9:19 PM To: Tomcat Users List Subject: Re: out of memory prob

RE: out of memory problem. Help!

2004-01-19 Thread Christian Witucki
oli [mailto:[EMAIL PROTECTED] Sent: Friday, January 16, 2004 9:19 PM To: Tomcat Users List Subject: Re: out of memory problem. Help! "Shapira, Yoav" wrote: > > Howdy, > > >root cause > > > >java.lang.OutOfMemoryError > > > > > >It happens Whe

RE: out of memory problem. Help!

2004-01-18 Thread Sanjeev Kumar
Check session-timeout in web.xml. -1 is never timeout -1 -Original Message- From: Christophe Andreoli [mailto:[EMAIL PROTECTED] Sent: Friday, January 16, 2004 9:19 PM To: Tomcat Users List Subject: Re: out of memory problem. Help! "Shapira, Yoav" wrote: > > Howdy,

RE: out of memory problem. Help!

2004-01-16 Thread Shapira, Yoav
Howdy, >It works better but why are the 2000 objects are not garbaged after each >request ? There's only one reason objects aren't garbage-collected in java: other objects are keeping references to them. You can inspect or profile your code to see what keeps references to what. Yoav Shapira

Re: out of memory problem. Help!

2004-01-16 Thread Christophe Andreoli
"Shapira, Yoav" wrote: > > Howdy, > > >root cause > > > >java.lang.OutOfMemoryError > > > > > >It happens When the corresponding request returns more than 2-3 > >rows from the database, not every time > Perhaps you should allocate your JVM more memory, by using the Java -Xmx > paramet

RE: out of memory problem. Help!

2004-01-16 Thread Shapira, Yoav
Howdy, >root cause > >java.lang.OutOfMemoryError > > >It happens When the corresponding request returns more than 2-3 >rows from the database, not every time Perhaps you should allocate your JVM more memory, by using the Java -Xmx parameter. Alternatively, consider a system design that

Re: out of memory problem. Help!

2004-01-16 Thread Tim Funk
- Get more memory - allocate more memory to the JVM (http://jakarta.apache.org/tomcat/faq/memory.html#adjust) - Don't place 20,000 ros of data in memory - Limit the size of your query -Tim Christophe Andreoli wrote: Hello ! I have a Struts/jsp Application Ich get an out of memory problem:

out of memory problem. Help!

2004-01-16 Thread Christophe Andreoli
Hello ! I have a Struts/jsp Application Ich get an out of memory problem:javax.servlet.ServletException: Servlet execution threw an exception at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) at org.apache.catalina.core.Appl