[Seaside] cleaning up in 2.5

radoslav hodnicak rh at 4096.sk
Sun Sep 5 13:02:04 CEST 2004


On Sun, 5 Sep 2004, radoslav hodnicak wrote:

>
> What are the necessary steps to get rid of old objects in 2.5?
>
> When I expire my sessions (for closing db connections etc) and do
> WARegistry clearAllHandlers (and collect garbage), I still have those
> sessions and applications hanging around. Tracking back pointers there are
> tons of references to method contexts (performRequest:,
> withEscapeContinuation: ...) so I don't know if this is a general problem
> or if just my image is hosed.

Ok found it (should have read the list archive first) - it's held in
Halos. While Halos is a weak key dictionary, every halo has a strong
reference to the key (target) so it will never be collected. I think this
is the kind of problem ephemorons are supposed to solve.

rado



More information about the Seaside mailing list