activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From krv <vivek.kub...@onmobile.com>
Subject Re: Resources not getting deallocated after receiving messages
Date Thu, 27 Mar 2008 15:05:13 GMT

Ok, I got the problem. The problem was at my sender/receiver components in
Mule. Yeah, I was using Mule as a client to connect to ActiveMQ. For more
information about this problem with mule go to : 
http://www.nabble.com/forum/ViewPost.jtp?post=13619403&framed=y
http://www.nabble.com/forum/ViewPost.jtp?post=13619403&framed=y 


Dil wrote:
> 
> 
> I have an asynchronous sender and receiver. After sending about 200k
> messages I am getting 'OutOfMemory'
> 
> are you closing all connection after you send from producer?
> 
> 
> 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-tp16302582s2354p16325857.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message