You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by ranjithjce <ra...@gmail.com> on 2013/09/04 12:02:23 UTC

Usage Manager Memory Limit (10737418240) reached on queue

Hi
I am new to ActiveMQ.I am using ActiveMQ 5.6.0 version.In my project in mule
ESB we are splitting 4gb file to 100000 batches and loaded to Queue,here
with send my activemq.xml conf.am getting Usage Manager Memory Limit
(10737418240) reached on queue,how to process large volume of batches.
any help would be appreciated.
thanks in advance.

        <destinationPolicy>
            <policyMap>
              <policyEntries>
                <policyEntry topic=">" producerFlowControl="true"
memoryLimit="1mb">
                  <pendingSubscriberPolicy>
                    <vmCursor />
                  </pendingSubscriberPolicy>
                </policyEntry>
                <policyEntry queue=">" producerFlowControl="true"
memoryLimit="10gb">
                  
                 
                 <pendingQueuePolicy>
                    <fileQueueCursor/>
                  </pendingQueuePolicy>

                </policyEntry>
              </policyEntries>
            </policyMap>
        </destinationPolicy>

          <systemUsage>
            <systemUsage>
                <memoryUsage>
                    <memoryUsage limit="2 gb"/>
                </memoryUsage>
                <storeUsage>
                    <storeUsage limit="50 gb"/>
                </storeUsage>
                <tempUsage>
                    <tempUsage limit="20 gb"/>
                </tempUsage>
            </systemUsage>
        </systemUsage> 

!Ranjith



--
View this message in context: http://activemq.2283324.n4.nabble.com/Usage-Manager-Memory-Limit-10737418240-reached-on-queue-tp4671139.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Usage Manager Memory Limit (10737418240) reached on queue

Posted by Christian Posta <ch...@gmail.com>.
take a look here to understand memory usage a little better

http://activemq.apache.org/javalangoutofmemory.html
http://activemq.apache.org/producer-flow-control.html
http://www.christianposta.com/blog/?p=273


On Wed, Sep 4, 2013 at 3:02 AM, ranjithjce <ra...@gmail.com> wrote:

> Hi
> I am new to ActiveMQ.I am using ActiveMQ 5.6.0 version.In my project in
> mule
> ESB we are splitting 4gb file to 100000 batches and loaded to Queue,here
> with send my activemq.xml conf.am getting Usage Manager Memory Limit
> (10737418240) reached on queue,how to process large volume of batches.
> any help would be appreciated.
> thanks in advance.
>
>         <destinationPolicy>
>             <policyMap>
>               <policyEntries>
>                 <policyEntry topic=">" producerFlowControl="true"
> memoryLimit="1mb">
>                   <pendingSubscriberPolicy>
>                     <vmCursor />
>                   </pendingSubscriberPolicy>
>                 </policyEntry>
>                 <policyEntry queue=">" producerFlowControl="true"
> memoryLimit="10gb">
>
>
>                  <pendingQueuePolicy>
>                     <fileQueueCursor/>
>                   </pendingQueuePolicy>
>
>                 </policyEntry>
>               </policyEntries>
>             </policyMap>
>         </destinationPolicy>
>
>           <systemUsage>
>             <systemUsage>
>                 <memoryUsage>
>                     <memoryUsage limit="2 gb"/>
>                 </memoryUsage>
>                 <storeUsage>
>                     <storeUsage limit="50 gb"/>
>                 </storeUsage>
>                 <tempUsage>
>                     <tempUsage limit="20 gb"/>
>                 </tempUsage>
>             </systemUsage>
>         </systemUsage>
>
> !Ranjith
>
>
>
> --
> View this message in context:
> http://activemq.2283324.n4.nabble.com/Usage-Manager-Memory-Limit-10737418240-reached-on-queue-tp4671139.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>



-- 
*Christian Posta*
http://www.christianposta.com/blog
twitter: @christianposta