On Thursday 26 June 2003 21:12, you wrote: > Is this required to ensure that memory is reclaimed? I had naively assumed > that Tcl/AOLserver would take care of this (that is, that variables created > within a connection or procedure would be torn down upon closure of the > connection without manual intervention). Is this not the case?
This would cover only global vars and file channels, nothing else. Any namespaced variables are not takein in account. > > Assuming manual reclamation is needed, I expect we would use ns_atclose and > implement a procedure which uses [info vars] to collect the names of local > variables and unset them (we will need to create an exclusion list of nsv* > variables which are never unset). Do you forsee any problems with this > approach? No problems. it would be helpful to know which variables are "hot" spots and only drop those w/o being too general, if the performance is paramount. Cheers Zoran -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> with the body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of your email blank.
