At 2006-09-25 15:13, chuboz wrote:
>Correct me if i'm wrong,
>You mean that eventhough we fetch messages from queue, we won't get the
Again, it depends on what you mean.
The JVM may use the memory for something else when the queue is
emptied. But the OS may not give the memory to some other application
until the JVM releases it. I don't know the conditions for the JVM to
release memory back to the OS, but AFAIK there is no way to this
(Some brief info here:
There is also an enhancement request on this here:
>In my opinion, OS memory should restored to normal without exiting
Well. Who is to decide what is "normal"? How long will it take until
the memory is neede by the JVM again? Having to re-allocate it from
the OS will affect performance.
>Mattias Jiderhamn-4 wrote:
> > At 2006-09-25 11:11, chuboz wrote:
> >>Is there any bug on JMS implementation on Resin pro 3.0.12 ?
> > Is there any software you dare say it does not contain any bugs...?
> >>I tried to use JMS MemoryQueue on Resin and it decrease my memory
> >>eventhough I have already emptied all my messages from queue.
> > What do you mean by "my memory"?
> > As the MemoryQueue needs more memory, the JVM will allocate more
> > memory from the OS. When the queue is emptied, the JVM will probably
> > hold on to the memory. That is, the memory may be reused by other
> > parts of your application, but it will not be returned to the OS.
> > _______________________________________________
> > resin-interest mailing list
> > email@example.com
> > http://maillist.caucho.com/mailman/listinfo/resin-interest
>View this message in context:
>Sent from the Resin mailing list archive at Nabble.com.
>resin-interest mailing list
resin-interest mailing list