activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fliot <franc...@liot.org>
Subject Re: JDBC persistence, Scheduler and OOM
Date Tue, 11 Mar 2014 18:03:00 GMT
With very similar config, and very same error.

<bean
class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
    <property name="locations">
      <value>file:${mypath.home}/activemq-persistence.properties</value>
    </property>
  </bean>

  <bean id="storeDataSource" class="org.apache.commons.dbcp.BasicDataSource"
destroy-method="close">
    <property name="driverClassName"
value="${broker.store.jdbc.driverClass}"/>
    <property name="url"
value="${broker.store.jdbc.url}?relaxAutoCommit=true&amp;autoReconnect=true"/>
    <property name="username" value="${broker.store.jdbc.user}"/>
    <property name="password" value="${broker.store.jdbc.password}"/>
    <property name="maxActive"  value="${broker.store.jdbc.maxActive}"/>
    <property name="poolPreparedStatements" value="true"/>
  </bean>

  <broker brokerName="web-console" useJmx="true"
xmlns="http://activemq.apache.org/schema/core" persistent="true"
deleteAllMessagesOnStartup="false" schedulerSupport="false"
advisorySupport="true">
    <persistenceAdapter>
      
      <jdbcPersistenceAdapter dataSource="#storeDataSource" />
    </persistenceAdapter>
	<systemUsage>
		<systemUsage>
			<memoryUsage>
				<memoryUsage limit="0"/>
			</memoryUsage>
			<storeUsage>
				<storeUsage limit="0"/>
			</storeUsage>
			<tempUsage>
				<tempUsage limit="256mb"/>
			</tempUsage>
		</systemUsage>
	</systemUsage>


"""
Exception in thread "ActiveMQ Broker[web-console] Scheduler"
java.lang.OutOfMemoryError: Java heap space
"""

ActiveMQ version : 5.9.0
Something that appear quite strange to me also, is, we supposed to have
disable the scheduler support of ActiveMQ, using schedulerSupport="false",
don't we ?

Thanks in advance.



--
View this message in context: http://activemq.2283324.n4.nabble.com/JDBC-persistence-Scheduler-and-OOM-tp4678363p4678731.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Mime
View raw message