Announcement Announcement Module
Collapse
No announcement yet.
How many extra memory does spring insight / tcServer Developer Edition need? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • How many extra memory does spring insight / tcServer Developer Edition need?

    Hi,

    I try to use insight but I found the following exception in the inside.log file (com.gemstone.gemfire.cache.LowMemoryException):

    Any advices how much extra RAM I should calculate? (There should be ~2GB of heap free after my spring webapp is fully configured)
    Code:
    2012-01-09 13:51:53,925 ERROR [com.springsource.insight.command.CommandServiceImpl][traceCreatingExecutor-1] - Unable to execute command normally, unable to retry command:SyncResource[ApplicationResource[key=insight:name="localhost|hcn-webapp",type=Application,  lbl=/hcn-webapp (tdd webapplication)]]
    org.springframework.dao.DataAccessResourceFailureException: Region: /Resource cannot process operation on key: insight:name="localhost|hcn-webapp",type=Application because member [ip-10-224-30-208(7617:loner):0:98eea0c2] is running low on memory; nested exception is com.gemstone.gemfire.cache.LowMemoryException: Region: /Resource cannot process operation on key: insight:name="localhost|hcn-webapp",type=Application because member [ip-10-224-30-208(7617:loner):0:98eea0c2] is running low on memory
            at org.springframework.data.gemfire.GemfireCacheUtils.convertGemfireAccessException(GemfireCacheUtils.java:186)
            at org.springframework.data.gemfire.GemfireAccessor.convertGemFireAccessException(GemfireAccessor.java:67)
            at org.springframework.data.gemfire.GemfireTemplate.execute(GemfireTemplate.java:153)
            at org.springframework.data.gemfire.GemfireTemplate.execute(GemfireTemplate.java:128)
            at com.springsource.insight.repo.resource.persist.GemfireResourceDAO.storeResource(GemfireResourceDAO.java:44)
            at sun.reflect.GeneratedMethodAccessor222.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:597)
            at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
            at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
            at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
            at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:155)
            at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
            at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
            at $Proxy36.storeResource(Unknown Source)
            at com.springsource.insight.repo.resource.persist.PersistedResourceRepo.storeResourceAndRegisterJMX(PersistedResourceRepo.java:175)
            at com.springsource.insight.repo.resource.persist.PersistedResourceRepo.syncResource(PersistedResourceRepo.java:128)
            at com.springsource.insight.repo.resource.command.SyncResourceProcessor.executeCommand(SyncResourceProcessor.java:37)
            at com.springsource.insight.repo.resource.command.SyncResourceProcessor.executeCommand(SyncResourceProcessor.java:1)
            at com.springsource.insight.command.AbstractProcessor.execute(AbstractProcessor.java:23)
            at com.springsource.insight.command.CommandServiceImpl.processCommand(CommandServiceImpl.java:102)
            at com.springsource.insight.command.CommandServiceImpl.processCommand(CommandServiceImpl.java:47)
            at com.springsource.insight.repo.trace.TraceReportServiceImpl.processCommands(TraceReportServiceImpl.java:69)
            at com.springsource.insight.repo.trace.TraceReportServiceImpl.processReport(TraceReportServiceImpl.java:53)
            at com.springsource.insight.dashboard.ExecutorTraceCreator$CreateTraceCommand.run(ExecutorTraceCreator.java:132)
            at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
            at java.lang.Thread.run(Thread.java:662)
    Caused by: com.gemstone.gemfire.cache.LowMemoryException: Region: /Resource cannot process operation on key: insight:name="localhost|hcn-webapp",type=Application because member [ip-10-224-30-208(7617:loner):0:98eea0c2] is running low on memory
            at com.gemstone.gemfire.internal.cache.LocalRegion.checkIfAboveThreshold(LocalRegion.java:4694)
            at com.gemstone.gemfire.internal.cache.LocalRegion.checkIfAboveThreshold(LocalRegion.java:4680)
            at com.gemstone.gemfire.internal.cache.LocalRegion.virtualPut(LocalRegion.java:4634)
            at com.gemstone.gemfire.internal.cache.LocalRegionDataView.putEntry(LocalRegionDataView.java:84)
            at com.gemstone.gemfire.internal.cache.LocalRegion.basicPut(LocalRegion.java:4166)
            at com.gemstone.gemfire.internal.cache.LocalRegion.create(LocalRegion.java:1018)
            at com.gemstone.gemfire.internal.cache.AbstractRegion.create(AbstractRegion.java:222)
            at sun.reflect.GeneratedMethodAccessor221.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:597)
            at org.springframework.data.gemfire.GemfireTemplate$CloseSuppressingInvocationHandler.invoke(GemfireTemplate.java:215)
            at $Proxy35.create(Unknown Source)
            at com.springsource.insight.repo.resource.persist.GemfireResourceDAO$1.doInGemfire(GemfireResourceDAO.java:46)
            at org.springframework.data.gemfire.GemfireTemplate.execute(GemfireTemplate.java:144)
            ... 25 more
    2012-01-09 13:51:53,926 ERROR [com.springsource.insight.command.CommandServiceImpl][traceCreatingExecutor-1] - Unknown command, SyncResource[ApplicationResource[key=insight:name="localhost|hcn-webapp",type=Application,  lbl=/hcn-webapp (tdd webapplication)]]
    2012-01-09 13:51:53,926 ERROR [com.springsource.insight.command.CommandServiceImpl][traceCreatingExecutor-1] - Unable to execute command normally, unable to retry command:SyncResource[ApplicationServerEndPointResource[key=insight:Application="localhost|hcn-webapp",Server="dashboard",name="de.tdd.hcn.server.website.basic.main.MainController#getMainpage(String,String,String,HttpServletResponse,HttpServletRequest)",type=Application.Server.EndPoint,  lbl=MainController#getMainpage on dashboard]]
    org.springframework.dao.DataAccessResourceFailureException: Region: /Resource cannot process operation on key: insight:Application="localhost|hcn-webapp",Server="dashboard",name="de.tdd.hcn.server.website.basic.main.MainController#getMainpage(String,String,String,HttpServletResponse,HttpServletRequest)",type=Application.Server.EndPoint because member [ip-10-224-30-208(7617:loner):0:98eea0c2] is running low on memory; nested exception is com.gemstone.gemfire.cache.LowMemoryException: Region: /Resource cannot process operation on key: insight:Application="localhost|hcn-webapp",Server="dashboard",name="de.tdd.hcn.server.website.basic.main.MainController#getMainpage(String,String,String,HttpServletResponse,HttpServletRequest)",type=Application.Server.EndPoint because member [ip-10-224-30-208(7617:loner):0:98eea0c2] is running low on memor
Working...
X