activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jimmy007 <tech.arunaggarwal...@gmail.com>
Subject CamelContext give me out of memory heap error
Date Fri, 06 Feb 2009 14:48:01 GMT

my applicationContext file contain only this much configuration
and still i have the problem with only camelContext, othere things are fine
my broker and other stull
when i deploy it , it will give me memory out of heap error

<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:context="http://www.springframework.org/schema/context"
xsi:schemaLocation="
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context-2.5.xsd
http://activemq.apache.org/camel/schema/spring
http://activemq.apache.org/camel/schema/spring/camel-spring.xsd">

<camelContext xmlns="http://activemq.apache.org/camel/schema/spring">

</beans>


My Logs are

2009-02-06 20:24:48,888 DEBUG [SchedulerImpl] scheduler initializing
2009-02-06 20:24:48,904 DEBUG [SchedulerImpl] scheduler initialized
2009-02-06 20:24:48,904 INFO  [SchedulerImpl] shutting down scheduler for
good
2009-02-06 20:24:49,060 WARN  [CacheManager] Creating a new instance of
CacheManager using the diskStorePath "C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\"
which is already used by an existing CacheManager.
The source of the configuration was classpath.
The diskStore path for this CacheManager will be set to
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\\ehcache_auto_created_1233932089060.
To avoid this warning consider using the CacheManager factory methods to
create a singleton CacheManager or specifying a separate ehcache
configuration (ehcache.xml) for each CacheManager instance.
2009-02-06 20:24:49,732 DEBUG [SchedulerImpl] scheduler initializing
2009-02-06 20:24:49,732 DEBUG [SchedulerImpl] scheduler initialized
2009-02-06 20:25:12,904 INFO  [DbInitializer] found schema version 160
2009-02-06 20:25:12,919 INFO  [DbInitializer] validating schema
2009-02-06 20:25:13,091 INFO  [DbInitializer] schema validation passed
2009-02-06 20:25:13,091 DEBUG [StandardUserService] getting user root
2009-02-06 20:25:23,091 ERROR [[/XYZ]] StandardWrapper.Throwable
java.lang.OutOfMemoryError: Java heap space
	at nu.xom.Attribute.copy(Unknown Source)
	at nu.xom.Element.copyAttributes(Unknown Source)
	at nu.xom.Element.copyTag(Unknown Source)
	at nu.xom.Element.copyChildren(Unknown Source)
	at nu.xom.Element.copy(Unknown Source)
	at nu.xom.Document.<init>(Unknown Source)
	at nu.xom.Document.copy(Unknown Source)
	at net.sourceforge.wurfl.wurflapi.Wurfl.init(Unknown Source)
	at net.sourceforge.wurfl.wurflapi.Wurfl.<init>(Unknown Source)
	at
net.sourceforge.wurfl.wurflapi.ObjectsManager.initFromWebApplication(Unknown
Source)
	at net.sourceforge.wurfl.wurflapi.WurflServletInit.init(Unknown Source)
	at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1091)
	at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:925)
	at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3857)
	at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4118)
	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)
	at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)
	at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
	at org.apache.catalina.core.StandardService.start(StandardService.java:450)
	at org.apache.catalina.core.StandardServer.start(StandardServer.java:683)
	at org.apache.catalina.startup.Catalina.start(Catalina.java:537)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:271)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409)
2009-02-06 20:25:23,091 ERROR [[/XYZ]] Servlet /XYZ threw load() exception
java.lang.OutOfMemoryError: Java heap space
	at nu.xom.Attribute.copy(Unknown Source)
	at nu.xom.Element.copyAttributes(Unknown Source)
	at nu.xom.Element.copyTag(Unknown Source)
	at nu.xom.Element.copyChildren(Unknown Source)
	at nu.xom.Element.copy(Unknown Source)
	at nu.xom.Document.<init>(Unknown Source)
	at nu.xom.Document.copy(Unknown Source)
	at net.sourceforge.wurfl.wurflapi.Wurfl.init(Unknown Source)
	at net.sourceforge.wurfl.wurflapi.Wurfl.<init>(Unknown Source)
	at
net.sourceforge.wurfl.wurflapi.ObjectsManager.initFromWebApplication(Unknown
Source)
	at net.sourceforge.wurfl.wurflapi.WurflServletInit.init(Unknown Source)
	at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1091)
	at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:925)
	at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3857)
	at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4118)
	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)
	at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)
	at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
	at org.apache.catalina.core.StandardService.start(StandardService.java:450)
	at org.apache.catalina.core.StandardServer.start(StandardServer.java:683)
	at org.apache.catalina.startup.Catalina.start(Catalina.java:537)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:271)


Warm Regards

jimmy :)

srishtitechnet.com


-- 
View this message in context: http://www.nabble.com/CamelContext-give-me-out-of-memory-heap-error-tp21873849p21873849.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message