Re: Memory is never freed by openjms

Felipe Palma Dias <palmadias-/E1597aS9LRfJ/[email protected]>
Newsgroups gmane.comp.java.openjms.user
Message-ID <[email protected]>
You can configure the OpenJMS Garbage collection. This
is easy and efficient.

http://openjms.sourceforge.net/config/gc.html

--- Datacom - Marcelo
<marcelo-lTwzwfQtfhvIp6JUJ/xx9mp/[email protected]> wrote:
> Hi, We're using openjms with non-persistent message
> and firebird as 
> database (we saw in this list  we must use a
> database even with no 
> desire in storing messages and we had problems using
> the default file 
> instead a database). The question is: How can we do
> to avoid memory to 
> grow up to blow away the entire JVM if we realize
> that no memory is 
> freed if we disconnect a sender or a receiver, in
> other words, if we 
> create a receiver it uses memory in jms server and
> when it is done no 
> memory is released and if we create another instance
> more memory goes 
> away (no memory in java heap is used). A simple test
> to try this is to 
> write a loop to create 10000 consumers (you can
> create a 100 at a time 
> and destroy them, even with a sleep to give the JVM
> a chance to free 
> some memory). In the  end  JVM memory  will reach 
> 85MB  and  you  will  
> got  an  error.  If you  do  many sends  and 
> receives  the  same error 
> appears but it happens slower. Is there a solution
> to avoid this memory 
> consumption ?
> 
> Thanks in advance,
> 
> MARCELO Ribeiro
> DataCom Telemática
> 
> 
> 
> 
>
-------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT
> Products from real users.
> Discover which products truly live up to the hype.
> Start reading now.
>
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> _______________________________________________
> openjms-user mailing list
> [email protected]
>
https://lists.sourceforge.net/lists/listinfo/openjms-user
> 

------------------------------------------------------- 
Felipe F. Palma Dias 
http://www.palmadias.com.br


	
	
		
Yahoo! Mail - Com 250MB de espaço. Abra sua conta! http://mail.yahoo.com.br/


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.