activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <james.strac...@gmail.com>
Subject Re: How to create a temporary Queue
Date Wed, 23 Aug 2006 10:59:29 GMT
On 8/23/06, ahamad <arashadsaifi@indiatimes.com> wrote:
> On 8/23/06, ahamad <arashadsaifi@indiatimes.com> wrote:
> >
> > Hi James,
> >
> > >We're not keeping it there :).
> >
> > >The Destination objects are like URL classes; they can be attached to
> > >messages or held in client's RAM - the broker can't really go around
> > >every JVM and make sure they don't happen to have a reference to a non
> > >existent destination lying around
> >
> >
> > >The broker resources have been removed when the client disconnected.
> >
> > But James, when I use top command this is not showing released resources.
>
> >What resources are  you talking about that you can see via top?
>
> I am talking about the memory which is taken by the broker, this memory does
> not decrease whenever the clients are disconnected.

Top is not a good way to decude memory usage of Java. Try using
jconsole and forcing GCs or a profiler
-- 

James
-------
http://radio.weblogs.com/0112098/

Mime
View raw message