Re: High memory consumption caused by BLOCKED Threads

2011-12-27 Thread Antonio Vidal Ferrer
Violeta: We had issues once with date objects (same behavior you describe), and was caused because one of the objects is working as serialized. If your app has a lot of requests, then all of them will have to wait serialization, generating a lot of memory and resources consumption. May be thi

Re: High memory consumption caused by BLOCKED Threads

2011-12-27 Thread Violeta Georgieva
Thanks to all of you! I'm profiling the application now. Happy New Year Violeta 2011/12/23 Christopher Schultz > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Rainer, > > On 12/22/11 2:00 PM, Rainer Jung wrote: > > Hmmm, actually I had a short look at the code of > > > > sun.util.resourc

RE: High memory consumption caused by BLOCKED Threads

2011-12-22 Thread Caldarale, Charles R
> From: Rainer Jung [mailto:rainer.j...@kippdata.de] > Subject: Re: High memory consumption caused by BLOCKED Threads > Hmmm, actually I had a short look at the code of > sun.util.resources.TimeZoneNames.getContents(TimeZoneNames.java:185) > and i don't unerstand why it is w

Re: High memory consumption caused by BLOCKED Threads

2011-12-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rainer, On 12/22/11 2:00 PM, Rainer Jung wrote: > Hmmm, actually I had a short look at the code of > > sun.util.resources.TimeZoneNames.getContents(TimeZoneNames.java:185) > > and i don't unerstand why it is waiting for a monitor entry. The > method

Re: High memory consumption caused by BLOCKED Threads

2011-12-22 Thread Rainer Jung
Chuck, On 22.12.2011 14:07, Caldarale, Charles R wrote: From: David kerber [mailto:dcker...@verizon.net] Subject: Re: High memory consumption caused by BLOCKED Threads Fix your app so that it releases the locks (probably synchronized sections) on the SimpleDateFormat objects. Read the

RE: High memory consumption caused by BLOCKED Threads

2011-12-22 Thread Caldarale, Charles R
> From: David kerber [mailto:dcker...@verizon.net] > Subject: Re: High memory consumption caused by BLOCKED Threads > Fix your app so that it releases the locks (probably synchronized > sections) on the SimpleDateFormat objects. Read the stack trace more carefully - only Tomcat or

Re: High memory consumption caused by BLOCKED Threads

2011-12-22 Thread Violeta Georgieva
But I do not make locks on the SimpleDateFormat objects? Tomcat does it while finishing the response. Here is one of the threads that waits to lock: "http-8080-84" daemon prio=10 tid=0x7ff9a4340800 nid=0xf5d waiting for monitor entry [0x7ff9990cf000] java.lang.Thread.State: BLOCKED (o

Re: High memory consumption caused by BLOCKED Threads

2011-12-22 Thread David kerber
On 12/22/2011 4:05 AM, Violeta Georgieva wrote: Hi, I am using Tomcat 6.0.29 and SUN JVM. I experience high memory consumption caused by BLOCKED Threads. I would appreciate any help or suggestion how to solve the problem. Fix your app so that it releases the locks (probably synchronized sect

Re: High memory consumption caused by BLOCKED Threads

2011-12-22 Thread Violeta Georgieva
The blocked threads that are waiting to get the lock, in order to finish the response, are holding a lot of memory that they cannot release. I have >50 blocked threads that are waiting. 2011/12/22 Mark Thomas > On 22/12/2011 09:05, Violeta Georgieva wrote: > > Hi, > > > > I am using Tomcat 6.0.2

Re: High memory consumption caused by BLOCKED Threads

2011-12-22 Thread Mark Thomas
On 22/12/2011 09:05, Violeta Georgieva wrote: > Hi, > > I am using Tomcat 6.0.29 and SUN JVM. > I experience high memory consumption caused by BLOCKED Threads. Blocked threads will not cause high memory consumption. > I would appreciate any help or suggestion how to solve the problem. Try telli