Try using the 
http://java.sun.com/developer/technicalArticles/J2SE/monitoring/ tools from
jdk6 . Like James says use jconsole and then jmap to actually see which
objects are the culprit in holding onto the memory. 


Gnanaprakash wrote:
> 
> Can you pls suggest something in this regards?
> 
> Thanks
> GP
> 
> 
> 
> James.Strachan wrote:
>> 
>> The JVM does the garbage collection. I'd recommend setting a
>> reasonable heap & keeping your app running and watching the GC work
>> via jconsole
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Memory-usage-always-increasing-tf3979402s2354.html#a11364189
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to