activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From themitchy <mitch.gran...@sophos.com>
Subject Out of Memory on 5.3
Date Mon, 26 Oct 2009 17:38:06 GMT

We're using only persistent messages and heap size is set to 2GB yet we hit
the memoryUsage limit quite quickly (system usage config below). This is
followed by "java.lang.OutOfMemoryError: unable to create new native thread"
as the process quickly reaches the 2GB of heap we gave it.  How are we
getting to that point with the memoryUsage limit set far below it?

Is there no way to get AMQ to gracefully limit it's memory usage?

        <systemUsage>
            <systemUsage>
                <memoryUsage>
                    <memoryUsage limit="256 mb"/>
                </memoryUsage>
                <storeUsage>
                    <storeUsage limit="60 gb" name="foo"/>
                </storeUsage>
                <tempUsage>
                    <tempUsage limit="60 gb"/>
                </tempUsage>
            </systemUsage>
        </systemUsage>

-- 
View this message in context: http://www.nabble.com/Out-of-Memory-on-5.3-tp26064098p26064098.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message