ubuntu - Memory Limit (67108864) in activemq -


i have problem when comes activemq. need know can re-configure active mq avoid following error:

usage manager memory limit (67108864) reached on queue://1000010. producers throttled rate @ messages removed destination prevent flooding it.  

note using activemq ver 5.5 on ubuntu 11.10.

and configurations:

<beans   xmlns="http://www.springframework.org/schema/beans"   xmlns:amq="http://activemq.apache.org/schema/core"   xmlns:xsi="http://www.w3.org/2001/xmlschema-instance"   xsi:schemalocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd   http://activemq.apache.org/schema/core http://activemq.apache.org/schema/core/activemq-core.xsd">        <bean class="org.springframework.beans.factory.config.propertyplaceholderconfigurer">         <property name="locations">             <value>file:${activemq.base}/conf/credentials.properties</value>         </property>           </bean>      <broker xmlns="http://activemq.apache.org/schema/core" brokername="localhost" usejmx="true" datadirectory="${activemq.base}/data" destroyapplicationcontextonstop="true"  scheduleperiodfordestinationpurge="0">          <destinationpolicy>             <policymap>               <policyentries>                 <policyentry topic=">" producerflowcontrol="false">                   <pendingsubscriberpolicy>                     <vmcursor />                   </pendingsubscriberpolicy>                 </policyentry>                 <policyentry queue=">" producerflowcontrol="false" maxpagesize="500" queueprefetch="300" expiremessagesperiod="0" queueprefetch="1">                  </policyentry>               </policyentries>             </policymap>         </destinationpolicy>           <managementcontext>             <managementcontext createconnector="false"/>         </managementcontext>          <persistenceadapter persistent="true" useshutdownhook="false">             <kahadb directory="${activemq.base}/data/kahadb" journalmaxfilelength="32mb"/>         </persistenceadapter>          <systemusage>             <systemusage>                 <memoryusage>                     <memoryusage limit="1 gb"/>                 </memoryusage>                 <storeusage>                     <storeusage limit="100 gb"/>                 </storeusage>                 <tempusage>                     <tempusage limit="1 gb"/>                 </tempusage>             </systemusage>         </systemusage>          <transportconnectors>             <transportconnector name="openwire" uri="tcp://0.0.0.0:61616"/>         </transportconnectors>      </broker>      <import resource="jetty.xml"/>  </beans> 

what seeing consistent sending non-persistent messages queue. looks hitting default memory limit. if sending persistent messages queue, use kahadb , therefore storeusage limit of 100gb.

as aside, have 2 queueprefetch values set on policyentry queues - that's not want.


Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -