From: Lubos Vrbka (lists_at_vrbka.net)
Date: Fri Nov 24 2006 - 07:46:14 CST

hi,

> When I use atomselect command inside loops in VMD tcl scripts, system
> run out of memory and my scripts abort. I guess that is because a lot
> of "atomselect#" (where # is 0,1,2,3...) are created. How can I
> clean-up memory? I have found only "atomselect list" command to list
> all selections.
set sel [atomselect ...]
...
$sel delete

i.e.,
        $name_of_your_selection delete
is the code you need.

regards,

-- 
Lubos _@_"
http://www.lubos.vrbka.net