You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by Bill Moo <cp...@gmail.com> on 2012/01/26 15:15:32 UTC
java.lang.OutOfMemoryError when importing a camel.xml resource.
Hello.
I have a working activemq.xml file that work until I import my camel.xml
resource. When activemq is started using the console option it tells me :
# A fatal error has been detected by the Java Runtime Environment:
#
# java.lang.OutOfMemoryError: requested 65552 bytes for Chunk::new. Out of
swap space?
#
# Internal Error (allocation.cpp:272), pid=11573, tid=8744083456
# Error: Chunk::new
#
# JRE version: 7.0
# Java VM: OpenJDK 64-Bit Server VM (20.0-b03 mixed mode bsd-amd64
compressed oops)
Looking in to this I changed the values of the -Xms and -Xmn
ACTIVEMQ_OPTS_MEMORY giving 2G and 1G respectivly for the JVM in the
/etc/default/activemq file. But this has no effect! When I run activemq
console it tells me that these two parameters are both 256MB
In my activemq.xml file my total <systemUsage> does no exceed 256MB and if
I break this boundary (without the imported camel.xml) it breaks (as
expected) at startup.
I guess I'm missing a trick here (again) but I'd appreciate your comments
on this.
--
Bill