java.lang.OutOfMemoryError: Java heap space

Pentaho BI Platform Tracking | Jared Pshedesky | 9 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    I scheduled an xaction (Business Rules Examples >> Current Position Titles) to run every minute, not something that should tax the server too much. I left it alone for a bit and when I got back there were out of memory errors in the server console: Exception in thread "PentahoQuartzScheduler_QuartzSchedulerThread" java.lang.OutOfMemoryError: Java heap space at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class.privateGetDeclaredMethods(Unknown Source) at java.lang.Class.getDeclaredMethod(Unknown Source) at java.io.ObjectStreamClass.getInheritableMethod(Unknown Source) at java.io.ObjectStreamClass.access$2200(Unknown Source) at java.io.ObjectStreamClass$2.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.io.ObjectStreamClass.<init>(Unknown Source) at java.io.ObjectStreamClass.lookup(Unknown Source) at java.io.ObjectStreamClass.initNonProxy(Unknown Source) at java.io.ObjectInputStream.readNonProxyDesc(Unknown Source) at java.io.ObjectInputStream.readClassDesc(Unknown Source) at java.io.ObjectInputStream.readNonProxyDesc(Unknown Source) at java.io.ObjectInputStream.readClassDesc(Unknown Source) at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source) at java.io.ObjectInputStream.readObject0(Unknown Source) at java.io.ObjectInputStream.readObject(Unknown Source) at org.quartz.impl.jdbcjobstore.StdJDBCDelegate.getObjectFromBlob(StdJDBCDelegate.java:3873) at org.quartz.impl.jdbcjobstore.StdJDBCDelegate.selectJobDetail(StdJDBCDelegate.java:956) at org.quartz.impl.jdbcjobstore.JobStoreSupport.retrieveJob(JobStoreSupport.java:1021) at org.quartz.impl.jdbcjobstore.JobStoreTX.retrieveJob(JobStoreTX.java:285) at org.quartz.core.QuartzScheduler.getJobDetail(QuartzScheduler.java:1167) at org.quartz.impl.StdScheduler.getJobDetail(StdScheduler.java:534) at org.pentaho.platform.scheduler.SchedulerHelper.getAllSchedules(SchedulerHelper.java:65) at org.pentaho.mantle.server.MantleServlet.getAllSchedules(MantleServlet.java:303) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:527) at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:163) at com.google.gwt.user.server.rpc.RemoteServiceServlet.doPost(RemoteServiceServlet.java:85) com.google.gwt.user.server.rpc.UnexpectedException: Service method 'public abstract java.util.List org.pentaho.mantle.client.service.MantleService.getAllSchedules()' threw an unexpected exception: jav a.lang.OutOfMemoryError: Java heap space Exception in thread "PentahoQuartzScheduler_Worker-5" at com.google.gwt.user.server.rpc.RPC.encodeResponseForFailure(RPC.java:360) at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:546) at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:163) at com.google.gwt.user.server.rpc.RemoteServiceServlet.doPost(RemoteServiceServlet.java:85) at javax.servlet.http.HttpServlet.service(HttpServlet.java:710) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:265) at org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:107) at org.acegisecurity.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:72) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) at org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:124) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) at org.acegisecurity.ui.switchuser.SwitchUserProcessingFilter.doFilter(SwitchUserProcessingFilter.java:341) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) at org.pentaho.platform.web.http.security.SecurityStartupFilter.doFilter(SecurityStartupFilter.java:81) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) at org.pentaho.platform.web.http.security.RequestParameterAuthenticationFilter.doFilter(RequestParameterAuthenticationFilter.java:164) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) at org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:174) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) at org.acegisecurity.ui.logout.LogoutFilter.doFilter(LogoutFilter.java:110) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) at org.pentaho.platform.web.http.security.HttpSessionReuseDetectionFilter.doFilter(HttpSessionReuseDetectionFilter.java:129) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) at org.acegisecurity.wrapper.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:81) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) at org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:149) at org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.pentaho.platform.web.http.filters.SystemStatusFilter.doFilter(SystemStatusFilter.java:55) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.pentaho.platform.web.http.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:113) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.OutOfMemoryError: Java heap space at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class.privateGetDeclaredMethods(Unknown Source) at java.lang.Class.getDeclaredMethod(Unknown Source) at java.io.ObjectStreamClass.getInheritableMethod(Unknown Source) at java.io.ObjectStreamClass.access$2200(Unknown Source) at java.io.ObjectStreamClass$2.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.io.ObjectStreamClass.<init>(Unknown Source) at java.io.ObjectStreamClass.lookup(Unknown Source) at java.io.ObjectStreamClass.initNonProxy(Unknown Source) at java.io.ObjectInputStream.readNonProxyDesc(Unknown Source) at java.io.ObjectInputStream.readClassDesc(Unknown Source) at java.io.ObjectInputStream.readNonProxyDesc(Unknown Source) at java.io.ObjectInputStream.readClassDesc(Unknown Source) at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source) at java.io.ObjectInputStream.readObject0(Unknown Source) at java.io.ObjectInputStream.readObject(Unknown Source) at org.quartz.impl.jdbcjobstore.StdJDBCDelegate.getObjectFromBlob(StdJDBCDelegate.java:3873) at org.quartz.impl.jdbcjobstore.StdJDBCDelegate.selectJobDetail(StdJDBCDelegate.java:956) at org.quartz.impl.jdbcjobstore.JobStoreSupport.retrieveJob(JobStoreSupport.java:1021) at org.quartz.impl.jdbcjobstore.JobStoreTX.retrieveJob(JobStoreTX.java:285) at org.quartz.core.QuartzScheduler.getJobDetail(QuartzScheduler.java:1167) at org.quartz.impl.StdScheduler.getJobDetail(StdScheduler.java:534) at org.pentaho.platform.scheduler.SchedulerHelper.getAllSchedules(SchedulerHelper.java:65) at org.pentaho.mantle.server.MantleServlet.getAllSchedules(MantleServlet.java:303) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:527) at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:163) at com.google.gwt.user.server.rpc.RemoteServiceServlet.doPost(RemoteServiceServlet.java:85) java.lang.OutOfMemoryError: Java heap space at java.io.BufferedInputStream.<init>(Unknown Source) at java.io.BufferedInputStream.<init>(Unknown Source) at java.util.ResourceBundle.loadBundle(Unknown Source) at java.util.ResourceBundle.findBundle(Unknown Source) at java.util.ResourceBundle.getBundleImpl(Unknown Source) at java.util.ResourceBundle.getBundle(Unknown Source) at org.apache.xerces.util.SAXMessageFormatter.formatMessage(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.getProperty(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.setProperty(Unknown Source) at org.dom4j.io.SAXHelper.setParserProperty(SAXHelper.java:34) at org.dom4j.io.SAXReader.configureReader(SAXReader.java:911) at org.dom4j.io.SAXReader.read(SAXReader.java:463) at org.dom4j.io.SAXReader.read(SAXReader.java:343) at org.pentaho.platform.util.xml.dom4j.XmlDom4JHelper.getDocFromStream(XmlDom4JHelper.java:217) at org.pentaho.platform.util.xml.dom4j.XmlDom4JHelper.getDocFromFile(XmlDom4JHelper.java:177) at org.pentaho.platform.repository.solution.filebased.FileBasedSolutionRepository.getSolutionDocument(FileBasedSolutionRepository.java:167) at org.pentaho.platform.repository.solution.filebased.FileBasedSolutionRepository.getActionSequence(FileBasedSolutionRepository.java:124) at org.pentaho.platform.engine.services.solution.SolutionEngine.createActionSequence(SolutionEngine.java:453) at org.pentaho.platform.engine.services.solution.SolutionEngine.executeInternal(SolutionEngine.java:360) at org.pentaho.platform.engine.services.solution.SolutionEngine.execute(SolutionEngine.java:313) at org.pentaho.platform.engine.services.solution.SolutionEngine.execute(SolutionEngine.java:192) 15:00:48,281 ERROR [JavascriptRule] Error Start: Pentaho Pentaho Platform Engine Core 2.0.0-M1 at org.pentaho.platform.engine.services.BaseRequestHandler.handleActionRequest(BaseRequestHandler.java:159) Exception in thread "PentahoQuartzScheduler_Worker-9" at org.pentaho.platform.scheduler.QuartzExecute.execute(QuartzExecute.java:172) at org.quartz.core.JobRunShell.run(JobRunShell.java:203) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520) 15:00:48,953 ERROR [JavascriptRule] 45e19574-746a-11dd-9674-07069f29ade5:COMPONENT:context-32858066-1219863567875:session-region-list.xactionBase.ERROR_0002 - Component execution failed java.lang.OutOfMemoryError: Java heap space at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class.privateGetDeclaredMethods(Unknown Source) at java.lang.Class.privateGetPublicMethods(Unknown Source) at java.lang.Class.privateGetPublicMethods(Unknown Source) at java.lang.Class.privateGetPublicMethods(Unknown Source) at java.lang.Class.privateGetPublicMethods(Unknown Source) at java.lang.Class.privateGetPublicMethods(Unknown Source) at java.lang.Class.getMethods(Unknown Source) at org.mozilla.javascript.JavaMembers.discoverAccessibleMethods(JavaMembers.java:361) at org.mozilla.javascript.JavaMembers.discoverAccessibleMethods(JavaMembers.java:335) at org.mozilla.javascript.JavaMembers.reflect(JavaMembers.java:428) at org.mozilla.javascript.JavaMembers.<init>(JavaMembers.java:77) at org.mozilla.javascript.JavaMembers.lookupClass(JavaMembers.java:759) at org.mozilla.javascript.NativeJavaObject.initMembers(NativeJavaObject.java:90) at org.mozilla.javascript.NativeJavaObject.<init>(NativeJavaObject.java:80) at org.mozilla.javascript.NativeJavaObject.<init>(NativeJavaObject.java:70) at org.mozilla.javascript.WrapFactory.wrapAsJavaObject(WrapFactory.java:149) at org.mozilla.javascript.WrapFactory.wrap(WrapFactory.java:105) at org.mozilla.javascript.Context.javaToJS(Context.java:1687) at org.pentaho.platform.plugin.action.javascript.JavascriptRule.executeScript(JavascriptRule.java:264) at org.pentaho.platform.plugin.action.javascript.JavascriptRule.executeAction(JavascriptRule.java:180) at org.pentaho.platform.engine.services.solution.ComponentBase.execute(ComponentBase.java:440) at org.pentaho.platform.engine.services.runtime.RuntimeContext.executeComponent(RuntimeContext.java:1293) at org.pentaho.platform.engine.services.runtime.RuntimeContext.executeAction(RuntimeContext.java:1260) at org.pentaho.platform.engine.services.runtime.RuntimeContext.performActions(RuntimeContext.java:1169) at org.pentaho.platform.engine.services.runtime.RuntimeContext.executeLoop(RuntimeContext.java:1122) at org.pentaho.platform.engine.services.runtime.RuntimeContext.executeSequence(RuntimeContext.java:1012) at org.pentaho.platform.engine.services.runtime.RuntimeContext.executeSequence(RuntimeContext.java:908) at org.pentaho.platform.engine.services.solution.SolutionEngine.executeInternal(SolutionEngine.java:409) at org.pentaho.platform.engine.services.solution.SolutionEngine.execute(SolutionEngine.java:313) at org.pentaho.platform.engine.services.solution.SolutionEngine.execute(SolutionEngine.java:192) at org.pentaho.platform.engine.core.system.PentahoSystem.sessionStartup(PentahoSystem.java:704) java.lang.OutOfMemoryError: Java heap space at java.util.Properties$LineReader.<init>(Unknown Source) at java.util.Properties.load(Unknown Source) at java.util.PropertyResourceBundle.<init>(Unknown Source) at java.util.ResourceBundle.loadBundle(Unknown Source) at java.util.ResourceBundle.findBundle(Unknown Source) 15:01:00,828 ERROR [JavascriptRule] Error end: at java.util.ResourceBundle.getBundleImpl(Unknown Source) at java.util.ResourceBundle.getBundle(Unknown Source) 15:01:01,656 ERROR [RuntimeContext] 45e19574-746a-11dd-9674-07069f29ade5:RUNTIME:context-32858066-1219863567875:session-region-list.xaction RuntimeContext.ERROR_0012 - ActionDefinition for JavascriptR ule did not execute successfully at org.apache.xerces.util.SAXMessageFormatter.formatMessage(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.getProperty(Unknown Source) 15:01:02,390 ERROR [SolutionEngine] 45e19574-746a-11dd-9674-07069f29ade5:SOLUTION-ENGINE:session-region-list.xaction: SolutionEngine.ERROR_0007 - Action sequence execution failed at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.setProperty(Unknown Source) at org.dom4j.io.SAXHelper.setParserProperty(SAXHelper.java:34) at org.dom4j.io.SAXReader.configureReader(SAXReader.java:911) at org.dom4j.io.SAXReader.read(SAXReader.java:463) at org.dom4j.io.SAXReader.read(SAXReader.java:343) at org.pentaho.platform.util.xml.dom4j.XmlDom4JHelper.getDocFromStream(XmlDom4JHelper.java:217) at org.pentaho.platform.util.xml.dom4j.XmlDom4JHelper.getDocFromFile(XmlDom4JHelper.java:177) at org.pentaho.platform.repository.solution.filebased.FileBasedSolutionRepository.getSolutionDocument(FileBasedSolutionRepository.java:167) at org.pentaho.platform.repository.solution.filebased.FileBasedSolutionRepository.getActionSequence(FileBasedSolutionRepository.java:124) at org.pentaho.platform.engine.services.solution.SolutionEngine.createActionSequence(SolutionEngine.java:453) at org.pentaho.platform.engine.services.solution.SolutionEngine.executeInternal(SolutionEngine.java:360) at org.pentaho.platform.engine.services.solution.SolutionEngine.execute(SolutionEngine.java:313) at org.pentaho.platform.engine.services.solution.SolutionEngine.execute(SolutionEngine.java:192) at org.pentaho.platform.engine.services.BaseRequestHandler.handleActionRequest(BaseRequestHandler.java:159) at org.pentaho.platform.scheduler.QuartzExecute.execute(QuartzExecute.java:172) at org.quartz.core.JobRunShell.run(JobRunShell.java:203) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)

    Pentaho BI Platform Tracking | 9 years ago | Jared Pshedesky
    java.lang.OutOfMemoryError: Java heap space
  2. 0

    I scheduled an xaction (Business Rules Examples >> Current Position Titles) to run every minute, not something that should tax the server too much. I left it alone for a bit and when I got back there were out of memory errors in the server console: Exception in thread "PentahoQuartzScheduler_QuartzSchedulerThread" java.lang.OutOfMemoryError: Java heap space at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class.privateGetDeclaredMethods(Unknown Source) at java.lang.Class.getDeclaredMethod(Unknown Source) at java.io.ObjectStreamClass.getInheritableMethod(Unknown Source) at java.io.ObjectStreamClass.access$2200(Unknown Source) at java.io.ObjectStreamClass$2.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.io.ObjectStreamClass.<init>(Unknown Source) at java.io.ObjectStreamClass.lookup(Unknown Source) at java.io.ObjectStreamClass.initNonProxy(Unknown Source) at java.io.ObjectInputStream.readNonProxyDesc(Unknown Source) at java.io.ObjectInputStream.readClassDesc(Unknown Source) at java.io.ObjectInputStream.readNonProxyDesc(Unknown Source) at java.io.ObjectInputStream.readClassDesc(Unknown Source) at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source) at java.io.ObjectInputStream.readObject0(Unknown Source) at java.io.ObjectInputStream.readObject(Unknown Source) at org.quartz.impl.jdbcjobstore.StdJDBCDelegate.getObjectFromBlob(StdJDBCDelegate.java:3873) at org.quartz.impl.jdbcjobstore.StdJDBCDelegate.selectJobDetail(StdJDBCDelegate.java:956) at org.quartz.impl.jdbcjobstore.JobStoreSupport.retrieveJob(JobStoreSupport.java:1021) at org.quartz.impl.jdbcjobstore.JobStoreTX.retrieveJob(JobStoreTX.java:285) at org.quartz.core.QuartzScheduler.getJobDetail(QuartzScheduler.java:1167) at org.quartz.impl.StdScheduler.getJobDetail(StdScheduler.java:534) at org.pentaho.platform.scheduler.SchedulerHelper.getAllSchedules(SchedulerHelper.java:65) at org.pentaho.mantle.server.MantleServlet.getAllSchedules(MantleServlet.java:303) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:527) at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:163) at com.google.gwt.user.server.rpc.RemoteServiceServlet.doPost(RemoteServiceServlet.java:85) com.google.gwt.user.server.rpc.UnexpectedException: Service method 'public abstract java.util.List org.pentaho.mantle.client.service.MantleService.getAllSchedules()' threw an unexpected exception: jav a.lang.OutOfMemoryError: Java heap space Exception in thread "PentahoQuartzScheduler_Worker-5" at com.google.gwt.user.server.rpc.RPC.encodeResponseForFailure(RPC.java:360) at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:546) at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:163) at com.google.gwt.user.server.rpc.RemoteServiceServlet.doPost(RemoteServiceServlet.java:85) at javax.servlet.http.HttpServlet.service(HttpServlet.java:710) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:265) at org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:107) at org.acegisecurity.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:72) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) at org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:124) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) at org.acegisecurity.ui.switchuser.SwitchUserProcessingFilter.doFilter(SwitchUserProcessingFilter.java:341) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) at org.pentaho.platform.web.http.security.SecurityStartupFilter.doFilter(SecurityStartupFilter.java:81) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) at org.pentaho.platform.web.http.security.RequestParameterAuthenticationFilter.doFilter(RequestParameterAuthenticationFilter.java:164) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) at org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:174) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) at org.acegisecurity.ui.logout.LogoutFilter.doFilter(LogoutFilter.java:110) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) at org.pentaho.platform.web.http.security.HttpSessionReuseDetectionFilter.doFilter(HttpSessionReuseDetectionFilter.java:129) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) at org.acegisecurity.wrapper.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:81) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) at org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:149) at org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.pentaho.platform.web.http.filters.SystemStatusFilter.doFilter(SystemStatusFilter.java:55) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.pentaho.platform.web.http.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:113) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.OutOfMemoryError: Java heap space at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class.privateGetDeclaredMethods(Unknown Source) at java.lang.Class.getDeclaredMethod(Unknown Source) at java.io.ObjectStreamClass.getInheritableMethod(Unknown Source) at java.io.ObjectStreamClass.access$2200(Unknown Source) at java.io.ObjectStreamClass$2.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.io.ObjectStreamClass.<init>(Unknown Source) at java.io.ObjectStreamClass.lookup(Unknown Source) at java.io.ObjectStreamClass.initNonProxy(Unknown Source) at java.io.ObjectInputStream.readNonProxyDesc(Unknown Source) at java.io.ObjectInputStream.readClassDesc(Unknown Source) at java.io.ObjectInputStream.readNonProxyDesc(Unknown Source) at java.io.ObjectInputStream.readClassDesc(Unknown Source) at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source) at java.io.ObjectInputStream.readObject0(Unknown Source) at java.io.ObjectInputStream.readObject(Unknown Source) at org.quartz.impl.jdbcjobstore.StdJDBCDelegate.getObjectFromBlob(StdJDBCDelegate.java:3873) at org.quartz.impl.jdbcjobstore.StdJDBCDelegate.selectJobDetail(StdJDBCDelegate.java:956) at org.quartz.impl.jdbcjobstore.JobStoreSupport.retrieveJob(JobStoreSupport.java:1021) at org.quartz.impl.jdbcjobstore.JobStoreTX.retrieveJob(JobStoreTX.java:285) at org.quartz.core.QuartzScheduler.getJobDetail(QuartzScheduler.java:1167) at org.quartz.impl.StdScheduler.getJobDetail(StdScheduler.java:534) at org.pentaho.platform.scheduler.SchedulerHelper.getAllSchedules(SchedulerHelper.java:65) at org.pentaho.mantle.server.MantleServlet.getAllSchedules(MantleServlet.java:303) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:527) at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:163) at com.google.gwt.user.server.rpc.RemoteServiceServlet.doPost(RemoteServiceServlet.java:85) java.lang.OutOfMemoryError: Java heap space at java.io.BufferedInputStream.<init>(Unknown Source) at java.io.BufferedInputStream.<init>(Unknown Source) at java.util.ResourceBundle.loadBundle(Unknown Source) at java.util.ResourceBundle.findBundle(Unknown Source) at java.util.ResourceBundle.getBundleImpl(Unknown Source) at java.util.ResourceBundle.getBundle(Unknown Source) at org.apache.xerces.util.SAXMessageFormatter.formatMessage(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.getProperty(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.setProperty(Unknown Source) at org.dom4j.io.SAXHelper.setParserProperty(SAXHelper.java:34) at org.dom4j.io.SAXReader.configureReader(SAXReader.java:911) at org.dom4j.io.SAXReader.read(SAXReader.java:463) at org.dom4j.io.SAXReader.read(SAXReader.java:343) at org.pentaho.platform.util.xml.dom4j.XmlDom4JHelper.getDocFromStream(XmlDom4JHelper.java:217) at org.pentaho.platform.util.xml.dom4j.XmlDom4JHelper.getDocFromFile(XmlDom4JHelper.java:177) at org.pentaho.platform.repository.solution.filebased.FileBasedSolutionRepository.getSolutionDocument(FileBasedSolutionRepository.java:167) at org.pentaho.platform.repository.solution.filebased.FileBasedSolutionRepository.getActionSequence(FileBasedSolutionRepository.java:124) at org.pentaho.platform.engine.services.solution.SolutionEngine.createActionSequence(SolutionEngine.java:453) at org.pentaho.platform.engine.services.solution.SolutionEngine.executeInternal(SolutionEngine.java:360) at org.pentaho.platform.engine.services.solution.SolutionEngine.execute(SolutionEngine.java:313) at org.pentaho.platform.engine.services.solution.SolutionEngine.execute(SolutionEngine.java:192) 15:00:48,281 ERROR [JavascriptRule] Error Start: Pentaho Pentaho Platform Engine Core 2.0.0-M1 at org.pentaho.platform.engine.services.BaseRequestHandler.handleActionRequest(BaseRequestHandler.java:159) Exception in thread "PentahoQuartzScheduler_Worker-9" at org.pentaho.platform.scheduler.QuartzExecute.execute(QuartzExecute.java:172) at org.quartz.core.JobRunShell.run(JobRunShell.java:203) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520) 15:00:48,953 ERROR [JavascriptRule] 45e19574-746a-11dd-9674-07069f29ade5:COMPONENT:context-32858066-1219863567875:session-region-list.xactionBase.ERROR_0002 - Component execution failed java.lang.OutOfMemoryError: Java heap space at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class.privateGetDeclaredMethods(Unknown Source) at java.lang.Class.privateGetPublicMethods(Unknown Source) at java.lang.Class.privateGetPublicMethods(Unknown Source) at java.lang.Class.privateGetPublicMethods(Unknown Source) at java.lang.Class.privateGetPublicMethods(Unknown Source) at java.lang.Class.privateGetPublicMethods(Unknown Source) at java.lang.Class.getMethods(Unknown Source) at org.mozilla.javascript.JavaMembers.discoverAccessibleMethods(JavaMembers.java:361) at org.mozilla.javascript.JavaMembers.discoverAccessibleMethods(JavaMembers.java:335) at org.mozilla.javascript.JavaMembers.reflect(JavaMembers.java:428) at org.mozilla.javascript.JavaMembers.<init>(JavaMembers.java:77) at org.mozilla.javascript.JavaMembers.lookupClass(JavaMembers.java:759) at org.mozilla.javascript.NativeJavaObject.initMembers(NativeJavaObject.java:90) at org.mozilla.javascript.NativeJavaObject.<init>(NativeJavaObject.java:80) at org.mozilla.javascript.NativeJavaObject.<init>(NativeJavaObject.java:70) at org.mozilla.javascript.WrapFactory.wrapAsJavaObject(WrapFactory.java:149) at org.mozilla.javascript.WrapFactory.wrap(WrapFactory.java:105) at org.mozilla.javascript.Context.javaToJS(Context.java:1687) at org.pentaho.platform.plugin.action.javascript.JavascriptRule.executeScript(JavascriptRule.java:264) at org.pentaho.platform.plugin.action.javascript.JavascriptRule.executeAction(JavascriptRule.java:180) at org.pentaho.platform.engine.services.solution.ComponentBase.execute(ComponentBase.java:440) at org.pentaho.platform.engine.services.runtime.RuntimeContext.executeComponent(RuntimeContext.java:1293) at org.pentaho.platform.engine.services.runtime.RuntimeContext.executeAction(RuntimeContext.java:1260) at org.pentaho.platform.engine.services.runtime.RuntimeContext.performActions(RuntimeContext.java:1169) at org.pentaho.platform.engine.services.runtime.RuntimeContext.executeLoop(RuntimeContext.java:1122) at org.pentaho.platform.engine.services.runtime.RuntimeContext.executeSequence(RuntimeContext.java:1012) at org.pentaho.platform.engine.services.runtime.RuntimeContext.executeSequence(RuntimeContext.java:908) at org.pentaho.platform.engine.services.solution.SolutionEngine.executeInternal(SolutionEngine.java:409) at org.pentaho.platform.engine.services.solution.SolutionEngine.execute(SolutionEngine.java:313) at org.pentaho.platform.engine.services.solution.SolutionEngine.execute(SolutionEngine.java:192) at org.pentaho.platform.engine.core.system.PentahoSystem.sessionStartup(PentahoSystem.java:704) java.lang.OutOfMemoryError: Java heap space at java.util.Properties$LineReader.<init>(Unknown Source) at java.util.Properties.load(Unknown Source) at java.util.PropertyResourceBundle.<init>(Unknown Source) at java.util.ResourceBundle.loadBundle(Unknown Source) at java.util.ResourceBundle.findBundle(Unknown Source) 15:01:00,828 ERROR [JavascriptRule] Error end: at java.util.ResourceBundle.getBundleImpl(Unknown Source) at java.util.ResourceBundle.getBundle(Unknown Source) 15:01:01,656 ERROR [RuntimeContext] 45e19574-746a-11dd-9674-07069f29ade5:RUNTIME:context-32858066-1219863567875:session-region-list.xaction RuntimeContext.ERROR_0012 - ActionDefinition for JavascriptR ule did not execute successfully at org.apache.xerces.util.SAXMessageFormatter.formatMessage(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.getProperty(Unknown Source) 15:01:02,390 ERROR [SolutionEngine] 45e19574-746a-11dd-9674-07069f29ade5:SOLUTION-ENGINE:session-region-list.xaction: SolutionEngine.ERROR_0007 - Action sequence execution failed at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.setProperty(Unknown Source) at org.dom4j.io.SAXHelper.setParserProperty(SAXHelper.java:34) at org.dom4j.io.SAXReader.configureReader(SAXReader.java:911) at org.dom4j.io.SAXReader.read(SAXReader.java:463) at org.dom4j.io.SAXReader.read(SAXReader.java:343) at org.pentaho.platform.util.xml.dom4j.XmlDom4JHelper.getDocFromStream(XmlDom4JHelper.java:217) at org.pentaho.platform.util.xml.dom4j.XmlDom4JHelper.getDocFromFile(XmlDom4JHelper.java:177) at org.pentaho.platform.repository.solution.filebased.FileBasedSolutionRepository.getSolutionDocument(FileBasedSolutionRepository.java:167) at org.pentaho.platform.repository.solution.filebased.FileBasedSolutionRepository.getActionSequence(FileBasedSolutionRepository.java:124) at org.pentaho.platform.engine.services.solution.SolutionEngine.createActionSequence(SolutionEngine.java:453) at org.pentaho.platform.engine.services.solution.SolutionEngine.executeInternal(SolutionEngine.java:360) at org.pentaho.platform.engine.services.solution.SolutionEngine.execute(SolutionEngine.java:313) at org.pentaho.platform.engine.services.solution.SolutionEngine.execute(SolutionEngine.java:192) at org.pentaho.platform.engine.services.BaseRequestHandler.handleActionRequest(BaseRequestHandler.java:159) at org.pentaho.platform.scheduler.QuartzExecute.execute(QuartzExecute.java:172) at org.quartz.core.JobRunShell.run(JobRunShell.java:203) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)

    Pentaho BI Platform Tracking | 9 years ago | Jared Pshedesky
    java.lang.OutOfMemoryError: Java heap space
  3. 0

    [package - 93i386-default][java/icedtea-web] Failed for icedtea-web-1.5.2 in build

    Google Groups | 2 years ago | Unknown author
    java.lang.OutOfMemoryError: Java heap space
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [package - 93i386-default][java/openjdk8-jre] Failed for openjdk8-jre-8.60.24_1 in build

    Google Groups | 1 year ago | Unknown author
    java.lang.OutOfMemoryError: Java heap space
  6. 0

    OOME from filewatcher

    YouTrack | 5 years ago
    java.lang.OutOfMemoryError: Java heap space

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.OutOfMemoryError

      Java heap space

      at java.io.BufferedInputStream.<init>()
    2. Java RT
      ResourceBundle.getBundle
      1. java.io.BufferedInputStream.<init>(Unknown Source)
      2. java.io.BufferedInputStream.<init>(Unknown Source)
      3. java.util.ResourceBundle.loadBundle(Unknown Source)
      4. java.util.ResourceBundle.findBundle(Unknown Source)
      5. java.util.ResourceBundle.getBundleImpl(Unknown Source)
      6. java.util.ResourceBundle.getBundle(Unknown Source)
      6 frames
    3. Xerces2-j
      SAXParserImpl$JAXPSAXParser.setProperty
      1. org.apache.xerces.util.SAXMessageFormatter.formatMessage(Unknown Source)
      2. org.apache.xerces.parsers.AbstractSAXParser.getProperty(Unknown Source)
      3. org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.setProperty(Unknown Source)
      3 frames
    4. dom4j
      SAXReader.read
      1. org.dom4j.io.SAXHelper.setParserProperty(SAXHelper.java:34)
      2. org.dom4j.io.SAXReader.configureReader(SAXReader.java:911)
      3. org.dom4j.io.SAXReader.read(SAXReader.java:463)
      4. org.dom4j.io.SAXReader.read(SAXReader.java:343)
      4 frames
    5. org.pentaho.platform
      SolutionEngine.execute
      1. org.pentaho.platform.util.xml.dom4j.XmlDom4JHelper.getDocFromStream(XmlDom4JHelper.java:217)
      2. org.pentaho.platform.util.xml.dom4j.XmlDom4JHelper.getDocFromFile(XmlDom4JHelper.java:177)
      3. org.pentaho.platform.repository.solution.filebased.FileBasedSolutionRepository.getSolutionDocument(FileBasedSolutionRepository.java:167)
      4. org.pentaho.platform.repository.solution.filebased.FileBasedSolutionRepository.getActionSequence(FileBasedSolutionRepository.java:124)
      5. org.pentaho.platform.engine.services.solution.SolutionEngine.createActionSequence(SolutionEngine.java:453)
      6. org.pentaho.platform.engine.services.solution.SolutionEngine.executeInternal(SolutionEngine.java:360)
      7. org.pentaho.platform.engine.services.solution.SolutionEngine.execute(SolutionEngine.java:313)
      8. org.pentaho.platform.engine.services.solution.SolutionEngine.execute(SolutionEngine.java:192)
      8 frames