anchor.diff:          </persistenceAdapter>
   
   
  -        <!--
  +          <!--
               The systemUsage controls the maximum amount of space the broker will
  -            use before slowing down producers. For more information, see:
  +            use before disabling caching and/or slowing down producers. For more information, see:
               http://activemq.apache.org/producer-flow-control.html
  -            If using ActiveMQ embedded - the following limits could safely be used:
  -        -->
  -        <systemUsage>
  +          -->
             <systemUsage>
  -              <memoryUsage>
  -                  <memoryUsage limit="64 mb"/>
  -              </memoryUsage>
  -              <storeUsage>
  -                  <storeUsage limit="100 gb"/>
  -              </storeUsage>
  -              <tempUsage>
  -                  <tempUsage limit="50 gb"/>
  -              </tempUsage>
  -          </systemUsage>
  -      </systemUsage>
  +            <systemUsage>
  +                <memoryUsage>
  +                    <memoryUsage percentOfJvmHeap="70" />
  +                </memoryUsage>
  +                <storeUsage>
  +                    <storeUsage limit="100 gb"/>
  +                </storeUsage>
  +                <tempUsage>
  +                    <tempUsage limit="50 gb"/>
  +                </tempUsage>
  +            </systemUsage>
  +        </systemUsage>
   
           <!--
               The transport connectors expose ActiveMQ over a given protocol to
  
positive.code:         -->
          <transportConnectors>
              <!-- DOS protection, limit concurrent connections to 1000 and frame size to 100MB -->
              <transportConnector name="openwire" uri="tcp://0.0.0.0:61616?maximumConnections=1000&amp;wireformat.maxFrameSize=104857600"/>
              <transportConnector name="amqp" uri="amqp://0.0.0.0:5672?maximumConnections=1000&amp;wireformat.maxFrameSize=104857600"/>
              <% if node['activemq']['enable_stomp'] -%>
              <transportConnector name="stomp" uri="stomp://0.0.0.0:61613?maximumConnections=1000&amp;wireformat.maxFrameSize=104857600"/>
              <% end -%>
          </transportConnectors>
  
          <!-- destroy the spring context on shutdown to stop jetty -->
  
negative.code: <!-- START SNIPPET: example -->
  <beans
    xmlns="http://www.springframework.org/schema/beans"
    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.xsd
    http://activemq.apache.org/schema/core http://activemq.apache.org/schema/core/activemq-core.xsd">
  
      <!-- Allows us to use system properties as variables in this configuration file -->
  