-
Bug
-
Resolution: Done
-
Major
-
4.2.ALPHA1
-
None
-
6-8 heavy loaded cluster testing HttpSession replication.
sesion size: 4KB
number of sessions: ~6000
memory limit: 2GB
HttpSessionReplication test occasionally fails with:
[JBoss] Caused by: java.lang.OutOfMemoryError: Java heap space
[JBoss] 09:41:44,637 WARN [/st] Failed to replicate session Jughfew96QkM3nQ6RK-CBg**.perf05
[JBoss] java.lang.RuntimeException: JBossCacheService: exception occurred in cache put ...
[JBoss] at org.jboss.web.tomcat.service.session.JBossCacheWrapper.put(JBossCacheWrapper.java:150)
[JBoss] at org.jboss.web.tomcat.service.session.JBossCacheService.putSession(JBossCacheService.java:319)
[JBoss] at org.jboss.web.tomcat.service.session.JBossCacheClusteredSession.processSessionRepl(JBossCacheClusteredSession.java:121)
[JBoss] at org.jboss.web.tomcat.service.session.JBossCacheManager.processSessionRepl(JBossCacheManager.java:1097)
[JBoss] at org.jboss.web.tomcat.service.session.JBossCacheManager.storeSession(JBossCacheManager.java:652)
[JBoss] at org.jboss.web.tomcat.service.session.InstantSnapshotManager.snapshot(InstantSnapshotManager.java:49)
[JBoss] at org.jboss.web.tomcat.service.session.ClusteredSessionValve.invoke(ClusteredSessionValve.java:98)
[JBoss] at org.jboss.web.tomcat.service.session.JvmRouteValve.invoke(JvmRouteValve.java:84)
[JBoss] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
[JBoss] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
[JBoss] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
[JBoss] at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
[JBoss] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
[JBoss] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:216)
[JBoss] at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:437)
[JBoss] at org.apache.coyote.ajp.AjpProtocol$AjpConnectionHandler.process(AjpProtocol.java:447)
[JBoss] at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:445)
[JBoss] at java.lang.Thread.run(Thread.java:595)
[JBoss] Caused by: java.lang.RuntimeException: java.lang.OutOfMemoryError: Java heap space
[JBoss] at org.jboss.cache.TreeCache.invokeMethod(TreeCache.java:5782)
[JBoss] at org.jboss.cache.TreeCache.put(TreeCache.java:3759)
[JBoss] at sun.reflect.GeneratedMethodAccessor77.invoke(Unknown Source)
[JBoss] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[JBoss] at java.lang.reflect.Method.invoke(Method.java:585)
[JBoss] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
[JBoss] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
[JBoss] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
[JBoss] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
[JBoss] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
[JBoss] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
[JBoss] at $Proxy70.put(Unknown Source)
[JBoss] at org.jboss.web.tomcat.service.session.JBossCacheWrapper.put(JBossCacheWrapper.java:141)
[JBoss] ... 17 more
[JBoss] Caused by: java.lang.OutOfMemoryError: Java heap space