activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tmane <>
Subject javax.jms.ResourceAllocationException: SystemUsage memory limit reached :Need to understand concept
Date Wed, 06 Oct 2010 01:40:32 GMT

Hi ,
Active Mq version :  activemq-all-
Operating system: Linux
Java version :6
Usage: Queues using persistent messages.
        <!--  The maximum about of space the broker will use before slowing
down producers -->
            <systemUsage sendFailIfNoSpace="true">
                    <memoryUsage limit="800 mb"/>
                    <!-- create a bean for persistence adapter so that it
can be reffered to by system usage -->
                    <storeUsage limit="2 gb" name="foo" store="#store"/>  
                    <tempUsage limit="2 gb"/>
Persistance Adaptor has maxFileLength="20 mb" (total data store is 2gb)
Messages are also not too bulky its simple concatenated string of few
Seeing this exceptions on producer send:
org.springframework.jms.ResourceAllocationException: SystemUsage memory
limit reached; nested exception is javax.jms.ResourceAllocationException:
SystemUsage memory limit reached
Currently we have a setup where we have very fast producers and slow
consumers.As per expectation broker is trying to slow down the producer by
sending out a JMSException as above.
When this exceptions are happening data store which has 2gb of space is
still having enough space,also other queues on this broker continue to work
I am trying to understand when broker is slowing down producer which space
its looking at to determine that its out of memory limit.
Any knowledge sharing on this is much appreciated.

Thanks in advace.
View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message