[aida] Reclaiming Memory in Aidaweb

Smalltalk smalltalk at adinet.com.uy
Mon Oct 25 00:58:33 CEST 2010


Hi,

Sometimes in my DEVELOPMENT environment I evaluate the following:

HTTPConnection allInstances do: [:each | each loop: nil; server: nil; task:
nil.].

Be sure to save the image first !!!

Regards,
Bruno
-----Mensaje original-----
De: aida-bounces at aidaweb.si [mailto:aida-bounces at aidaweb.si] En nombre de
Herbert König
Enviado el: Sunday, October 24, 2010 8:16 PM
Para: AIDA/Web general discussion list
Asunto: Re: [aida] Reclaiming Memory in Aidaweb

Hi Mariano,

MMP> Hi Herbert. What about expling an instance and see the pointers to 
MMP> it?  you can take the object, explore it, and there you have the 
MMP> option "chase pointers" or similar (I don't know they are called in 
MMP> Squeak). But basically, you can browse the objects that are pointing to
that objects.

MMP> Maybe there are Processes, Contexts, Sessions or something like 
MMP> that, which are ponting to those objects.

that's the process I use but these objects are greatly interconnected, so
each of them is pointed to by hundreds of objects again. I hope the
8 HTTPServer's are the culprit but don't know how to get rid of them.
again they are pointed to by hundreds of objects.

Maybe the whole mess only is linked to a Global by one single reference
which I need to break.

BTW the PointerFinder on many of these Objects finds SuspendedDelays (see
attachment). At which point I'm stuck. Seems I need to learn Smalltalk
eventually :-)) Any tips?


Cheers,

Herbert                            mailto:herbertkoenig at gmx.net



More information about the Aida mailing list