[prev in list] [next in list] [prev in thread] [next in thread] 

List:       activemq-users
Subject:    Re: Resources not getting deallocated after receiving messages
From:       ttmdev <joe.fernandez () ttmsolutions ! com>
Date:       2008-03-27 18:58:41
Message-ID: 16331261.post () talk ! nabble ! com
[Download RAW message or body]


Can you provide information re the memory leak that you've come across?



rby wrote:
> 
> Hi,
> 
> Same here, I have an obvious memory leak with activemq 5.1-snapshot.
> I hope someone will respond at least to one of these memory related
> questions.
> 
> Regards,
> Ramzi
> 
> 
> krv wrote:
> > 
> > Hi,
> > 
> > Many posts have been posted regarding 'OutOfMemory' but I couldn't find
> > relevant information, hence posting in a new thread.
> > 
> > I have an asynchronous sender and receiver. After sending about 200k
> > messages I am getting 'OutOfMemory'. After observing the profiler I found
> > out that the sessions created for the messages are not getting closed.
> > Also found out that instances of the following objects go on increasing:
> > * <class>[ ]
> > * java.util.concurrent.locks.ReentrantLock$NonfairSync
> > * java.util.concurrent.ConcurrentHashMap$Segment
> > 
> > The number of instances for the above objects is about 3 times (each) the
> > number of messages i.e. about 9 objects for each message. 200k+ objects
> > (of each type) account upto around 50mb.
> > 
> > Am I missing something in the sender/receiver?
> > 
> > Any help is greatly appreciated.
> > 
> > Regards,
> > Vivek
> > 
> 
> 

-- 
View this message in context: \
http://www.nabble.com/Resources-not-getting-deallocated-after-receiving-messages-tp16302582s2354p16331261.html
 Sent from the ActiveMQ - User mailing list archive at Nabble.com.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic