Off the top of my head, VisualVM (https://visualvm.dev.java.net/) may help you narrow it down a little. The profiler portion should be able to dump lots of memory info so you can see what is being allocated and by which objects. The Netbeans profiler is supposed to be pretty good, too, but I haven't used it much. One thing I've always been curious about is session memory and how it's allocated/deallocated, particularly if there are a lot of closures being used.
Derek On Mon, Nov 17, 2008 at 7:03 PM, Matt Hopkins <[EMAIL PROTECTED]>wrote: > > We've had Lift app running in production for somewhere around 4 or 5 > months now (nofouls.com). Development with lift was great, but in > production we're having a problem. For the most part it's been OK, > but around once a week (not on the week, sometimes after a day or so, > sometimes after two weeks), I start getting > java.lang.OutOfMemoryError: Java heap space errors, and every page on > the site returns the same thing. The stack trace reports the > exception being thrown at different points during each http request. > If I look at the graphs of CPU usage or memory usage, they spike for > around an hour before the problem occurs, then CPU usage goes back to > near nothing but memory usage stays up. I haven't been able to track > things back to a single page's access yet. > > I'm running on list 0.9 snapshot. I have tried this on two separate > hosts with the same luck. One was Ubuntu 8 with Tomcat 6, Java 6, and > Postgres 8.3. The other was Ubuntu 7 with Jetty (not sure on the > other versions, as the environment is now gone). Has anyone had any > similar problems? Does anyone know of any tools that would be good > for tracking this problem back to its source? > > Thanks! > > --Matt > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Lift" 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/liftweb?hl=en -~----------~----~----~----~------~----~------~--~---
