[Seaside] Lurking SessionObjects

Avi Bryant seaside@lists.squeakfoundation.org
Mon, 18 Nov 2002 15:32:08 -0800 (PST)


On Mon, 18 Nov 2002, Derek Brans wrote:

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

Well, the default setting is for each application to cache up to 100
sessions, and each session to cache up to 100 continuations.  So until you
see more than 10000 continuations...

Look for uses of WLRUCache to change this (ie, you can go to a
WAExpiringCache, or set the #max: parameter to reduce it from 100) if
you're running out of memory.