On Mon, Nov 17, 2008 at 10:58 PM, Derek Chen-Becker
<[EMAIL PROTECTED]>wrote:

> 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.


I still have some work to do to automatically release closures during a
session.  Once the session goes away, the memory is released, but for long
sessions, there is currently more memory held than should be.


>
>
> 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
>>
>>
>>
>>
>
> >
>


-- 
Lift, the simply functional web framework http://liftweb.net
Collaborative Task Management http://much4.us
Follow me: http://twitter.com/dpp
Git some: http://github.com/dpp

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to