[
https://issues.apache.org/jira/browse/CLOUDSTACK-9250?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15213917#comment-15213917
]
Javier Ayllon commented on CLOUDSTACK-9250:
-------------------------------------------
Same here, after a couple of days running 4.7.1 , cloudstack starts dumping
java.sql.SQLException: java.lang.OutOfMemoryError: Java heap space
with this stack:
2016-03-22 20:26:02,807 WARN [c.c.n.r.VirtualNetworkApplianceManagerImpl]
(RouterMonitor-1:ctx-f2ebd2ac) (logid:b4a442e8) Error while collecting network
stats
com.cloud.utils.exception.CloudRuntimeException: DB Exception on: null
at
com.cloud.utils.db.GenericDaoBase.searchIncludingRemoved(GenericDaoBase.java:427)
at
com.cloud.utils.db.GenericDaoBase.searchIncludingRemoved(GenericDaoBase.java:363)
at
com.cloud.utils.db.GenericDaoBase.findOneIncludingRemovedBy(GenericDaoBase.java:891)
at com.cloud.utils.db.GenericDaoBase.findOneBy(GenericDaoBase.java:902)
at
com.cloud.user.dao.UserStatisticsDaoImpl.findBy(UserStatisticsDaoImpl.java:73)
at sun.reflect.GeneratedMethodAccessor189.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
at
com.cloud.utils.db.TransactionContextInterceptor.invoke(TransactionContextInterceptor.java:34)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161)
at
org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:91)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at com.sun.proxy.$Proxy152.findBy(Unknown Source)
at
com.cloud.network.router.VirtualNetworkApplianceManagerImpl$NetworkUsageTask.runInContext(VirtualNetworkApplianceManagerImpl.java:769)
at
org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:49)
at
org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56)
at
org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103)
at
org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53)
at
org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.java:46)
at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
> Storage automation results in java memory leaks.
> ------------------------------------------------
>
> Key: CLOUDSTACK-9250
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9250
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Components: Automation
> Affects Versions: 4.5.2, 4.6.0
> Reporter: Balaji Mani
> Priority: Critical
>
> While automating the storage creation and deletion in selenium, after 1000
> storage creation and deletion, the CloudStack management server getting
> freezes due to JAVA Heap.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)