3 Replies Latest reply on Aug 17, 2009 11:32 AM by Prasanth Kumar.S

    cf8 - memory issue when running process - java.lang.OutOfMemoryError: Java heap space

    SilentBob'secretfusion

      Hi, I am running code in coldfusion 7 generally without issue.  I am now running it in coldfusion 8 and am getting the below java issue.

       

      Can anyone make any suggestions as to what might be wrong?  Thanks.

       

       

      Error Message
      500
       
      ROOT CAUSE: 
      java.lang.OutOfMemoryError: Java heap space
           at java.util.Arrays.copyOf(Arrays.java:2882)
           at java.io.CharArrayWriter.write(CharArrayWriter.java:105)
           at coldfusion.runtime.CharBuffer.replace(CharBuffer.java:37)
           at coldfusion.runtime.CharBuffer.replace(CharBuffer.java:50)
           at coldfusion.runtime.NeoBodyContent.write(NeoBodyContent.java:254)
           at coldfusion.runtime.NeoPageContext.emitWhitespace(NeoPageContext.java:1870)
           at coldfusion.runtime.CfJspPage._whitespace(CfJspPage.java:2645)
           at cfassignperm2ecfm907071419.runPage(D:\coldfusion applications\pse.org\pages\administration\assignperm.cfm:88)
           at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:196)
           at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:370)
           at coldfusion.runtime.CfJspPage._emptyTcfTag(CfJspPage.java:2661)
           at cfadministration2ecfm1867347072.runPage(D:\coldfusion applications\pse.org\administration.cfm:104)
           at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:196)
           at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:370)
           at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65)
           at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:279)
           at coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:48)
           at coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:40)
           at coldfusion.filter.PathFilter.invoke(PathFilter.java:86)
           at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:70)
           at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28)
           at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)
           at coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:46)
           at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
           at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
           at coldfusion.CfmServlet.service(CfmServlet.java:175)
           at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89)
           at jrun.servlet.FilterChain.doFilter(FilterChain.java:86)
           at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:42)
           at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)
           at jrun.servlet.FilterChain.doFilter(FilterChain.java:94)
           at jrun.servlet.FilterChain.service(FilterChain.java:101)
       
       
      javax.servlet.ServletException: ROOT CAUSE: 
      java.lang.OutOfMemoryError: Java heap space
           at java.util.Arrays.copyOf(Arrays.java:2882)
           at java.io.CharArrayWriter.write(CharArrayWriter.java:105)
           at coldfusion.runtime.CharBuffer.replace(CharBuffer.java:37)
           at coldfusion.runtime.CharBuffer.replace(CharBuffer.java:50)
           at coldfusion.runtime.NeoBodyContent.write(NeoBodyContent.java:254)
           at coldfusion.runtime.NeoPageContext.emitWhitespace(NeoPageContext.java:1870)
           at coldfusion.runtime.CfJspPage._whitespace(CfJspPage.java:2645)
           at cfassignperm2ecfm907071419.runPage(D:\coldfusion applications\pse.org\pages\administration\assignperm.cfm:88)
           at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:196)
           at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:370)
           at coldfusion.runtime.CfJspPage._emptyTcfTag(CfJspPage.java:2661)
           at cfadministration2ecfm1867347072.runPage(D:\coldfusion applications\pse.org\administration.cfm:104)
           at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:196)
           at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:370)
           at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65)
           at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:279)
           at coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:48)
           at coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:40)
           at coldfusion.filter.PathFilter.invoke(PathFilter.java:86)
           at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:70)
           at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28)
           at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)
           at coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:46)
           at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
           at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
           at coldfusion.CfmServlet.service(CfmServlet.java:175)
           at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89)
           at jrun.servlet.FilterChain.doFilter(FilterChain.java:86)
           at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:42)
           at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)
           at jrun.servlet.FilterChain.doFilter(FilterChain.java:94)
           at jrun.servlet.FilterChain.service(FilterChain.java:101)
       
           at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:70)
           at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)
           at jrun.servlet.FilterChain.doFilter(FilterChain.java:94)
           at jrun.servlet.FilterChain.service(FilterChain.java:101)
           at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:106)
           at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
           at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:286)
           at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543)
           at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:203)
           at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428)
           at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)