[Seaside] Lurking SessionObjects

Derek Brans seaside@lists.squeakfoundation.org
Mon, 18 Nov 2002 15:13:32 -0800


Thanks for responding Avi and Julian.

WASession allSubInstances size   208
WASessionObject allSubInstances  size  923
Continuation allSubInstances size 2777

and growing.  Any idea why they're not disappearing?
Thanks.
Derek

On Monday, November 18, 2002, at 02:05 PM, Avi Bryant wrote:

>
> On Mon, 18 Nov 2002, Julian Fitzell wrote:
>
>> Hey Derek,
>>
>> instances of subclasses of WASessionObject are snapshotted on every 
>> page
>> view so you can roll their state back when the user uses the back
>> button, etc.  My guess is that your cache objects are holding on to
>> these objects.
>
> Just to clarify - each Application has a cache of Sessions; each Session
> has a cache of Continuations; these continuations hold on to the
> WASessionObjects they need.  Sessions and Continuations will both 
> expire,
> so although you will always have lots of these objects around, they 
> won't
> grow forever - old ones will disappear as new ones get created.
>
> If you're seeing an image keep growing and growing in size forever, then
> that's a problem, of course.  Otherwise you should trust them to clean
> themselves up.
>
> _______________________________________________
> Seaside mailing list
> Seaside@lists.squeakfoundation.org
> http://lists.squeakfoundation.org/listinfo/seaside
>
>
Nerd on a Wire: Web and Information Solutions
Website Design - Database Systems - Site Hosting
604.874.6463
mailto:info@nerdonawire.com
For more information, visit http://nerdonawire.com