First thing that comes to mind is Sessions. If you are placing a lot of data in the session scope, your server can be brought down by all kinds of traffic especially spiders.
And then there's excessive caching. If you are caching on a per-user basis or not caching effectively (e.g. storage bugs, whitespace) you can get this. Depends on your application. Perhaps it is loading some huge data structure into memory but it would have to be excessively huge to bring down the server. My two cents On Mon, 2008-05-19 at 13:15 +1000, Dale Fraser wrote: > Yeah, > > I've been told that the code is ok, but I think I'll need to look through it > myself. > > Regards > Dale Fraser > http://learncf.com > http://flexcf.com > > > -----Original Message----- > From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf > Of Kai Koenig > Sent: Monday, 19 May 2008 12:17 PM > To: [email protected] > Subject: [cfaussie] Re: Out of Memory > > > Dale, > > something on your page seems to go crazy and suck all the remaining > VM memory. > > Cheers > Kai > > >We are getting these errors on a particular page. Looking at the code > >there is nothing wrong that we can see other than the fact that it is > >manipulating a large amount of data. > > > >Any ideas on what we can do to eliminate these issues. > >500 > >ROOT CAUSE: > >coldfusion.runtime.EventHandlerException: Event handler exception. > > at coldfusion.runtime.AppEventInvoker.onRequest > >(AppEventInvoker.java:251) > > at coldfusion.filter.ApplicationFilter.invoke > >(ApplicationFilter.java:269) > > 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.filter.RequestThrottleFilter.invoke > >(RequestThrottleFilter.java:126) > > 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 jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:106) > > at > jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42) > > at jrun.servlet.JRunRequestDispatcher.invoke > >(JRunRequestDispatcher.java:284) > > at jrun.servlet.ServletEngineService.dispatch > >(ServletEngineService.java:543) > > at jrun.servlet.jrpp.JRunProxyService.invokeRunnable > >(JRunProxyService.java:203) > > at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable > >(ThreadPool.java:320) > > at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable > >(ThreadPool.java:428) > > at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable > >(ThreadPool.java:266) > > at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66) > >Caused by: java.lang.OutOfMemoryError: Java heap space > > > >javax.servlet.ServletException: ROOT CAUSE: > >coldfusion.runtime.EventHandlerException: Event handler exception. > > at coldfusion.runtime.AppEventInvoker.onRequest > >(AppEventInvoker.java:251) > > at coldfusion.filter.ApplicationFilter.invoke > >(ApplicationFilter.java:269) > > 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.filter.RequestThrottleFilter.invoke > >(RequestThrottleFilter.java:126) > > 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 jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:106) > > at > jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42) > > at jrun.servlet.JRunRequestDispatcher.invoke > >(JRunRequestDispatcher.java:284) > > at jrun.servlet.ServletEngineService.dispatch > >(ServletEngineService.java:543) > > at jrun.servlet.jrpp.JRunProxyService.invokeRunnable > >(JRunProxyService.java:203) > > at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable > >(ThreadPool.java:320) > > at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable > >(ThreadPool.java:428) > > at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable > >(ThreadPool.java:266) > > at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66) > >Caused by: java.lang.OutOfMemoryError: Java heap space > > > > 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:284) > > at jrun.servlet.ServletEngineService.dispatch > >(ServletEngineService.java:543) > > at jrun.servlet.jrpp.JRunProxyService.invokeRunnable > >(JRunProxyService.java:203) > > at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable > >(ThreadPool.java:320) > > at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable > >(ThreadPool.java:428) > > at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable > >(ThreadPool.java:266) > > at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66) > > > >500 > >ROOT CAUSE: > >java.lang.OutOfMemoryError: GC overhead limit exceeded > > > >javax.servlet.ServletException: ROOT CAUSE: > >java.lang.OutOfMemoryError: GC overhead limit exceeded > > > > 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:284) > > at jrun.servlet.ServletEngineService.dispatch > >(ServletEngineService.java:543) > > at jrun.servlet.jrpp.JRunProxyService.invokeRunnable > >(JRunProxyService.java:203) > > at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable > >(ThreadPool.java:320) > > at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable > >(ThreadPool.java:428) > > at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable > >(ThreadPool.java:266) > > at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66) > > > > > > > > > >Regards > >Dale Fraser > >http://learncf.com > >http://flexcf.com > > > > > > > > > > > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "cfaussie" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en -~----------~----~----~----~------~----~------~--~---
