Gert,

We use the Windows version for development phase of our services.

We are deploying services by dropping the files in the deploy and install
directories. We don't use JMX for the development phase.

We're using ServiceMix version 3.1 in stand-alone mode.  We deploy SAs as
well.

Regards,
Armen H.


Gert Vanthienen wrote:
> 
> L.S.,
> 
> One of my customers is running ServiceMix on Windows as well, but even
> with a dozen SA deployed, the memory usage doesn't raise to the amounts
> you mention here, although there are using several types of services
> (HTTP, JMS, FTP, File, Saxon, EIP, bean, lwcontainer).
> 
> What version of ServiceMix and/or Java are you using?  Are you using
> ServiceMix in stand-alone or web application 'mode'?  What is the type of
> service you are trying to deploy?  Can you try to check the number of
> threads that are running with a JMX console?
> 
> 
> Regards,
> 
> Gert
> 
> 
> ArmenH wrote:
>> 
>> We have found out that after just one service deployed on Windows
>> ServiceMix the memory usage jumps to 500 MB and it increases linearly
>> after each service deployment until ServiceMix dies with an
>> OutOfMemoryError.
>> 
>> We tried increasing the heap size and it helped up to a certain number of
>> services deployed in the container, after that the Error happened as
>> expected.
>> 
>> We used jhatfor heap analysis and found out that the following instance
>> usage (after just one service deployment):
>> 
>> 1673478 instances of class org.apache.activemq.filter.DestinationMapNode
>> 3001 instances of class
>> edu.emory.mathcs.backport.java.util.concurrent.locks.ReentrantLock$NonfairSync
>> 
>> 
>> This is a critical issue for us.  Please advise.
>> 
>> Regards.
>> Armen H.
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/ActiveMQ-Causing-OutOfMemoryError-After-Service-Deployment-tf4133779s12049.html#a11775655
Sent from the ServiceMix - Dev mailing list archive at Nabble.com.

Reply via email to