From: John Stone (johns_at_ks.uiuc.edu)
Date: Mon May 10 2010 - 16:20:55 CDT

Hi,
  Can you verify for me that you're running VMD 1.8.7 and not an
older version? I have a couple of ideas as to what is happening
here, but before I give you any suggestions the first question is
to make sure you're running a current version of VMD.

Cheers,
  John Stone
  vmd_at_ks.uiuc.edu

On Tue, May 04, 2010 at 03:07:54PM -0700, Wei Chen wrote:
> Hi all,
>
> I try to load a series of pdb files, which were extracted from a
> trajectory. In order to save memory, I load one at a time and delete it
> using "animate delete all" before loading the second one. It indeed saved
> some memory, but the memory usage still keeped increasing when I loaded
> hundreds pdb files. Could anybody tell me what is wrong? Is it because
> other information than coordinates from pdb files is not deleted when
> using "animate delete all"?
>
> My script is as follows:
>
> *************************************************************
> set start 0
> set end 499
> set stride 10
> set fileformat "%06d0.00ps.pdb"
>
> for {set i $start} {$i <= $end} {incr i 1} {
> set filename [format $fileformat [expr $i]]
> if {$i == $start} {
> set molid [mol new $filename type pdb waitfor all]
> puts "molid = $molid"
> } else {
> animate read pdb $filename waitfor all $molid
> }
>
> animate delete all
> puts "delete $filename"
>
> }
>
> quit
> ************************************************************
>
> Thank you!
>
> Wei Chen

-- 
NIH Resource for Macromolecular Modeling and Bioinformatics
Beckman Institute for Advanced Science and Technology
University of Illinois, 405 N. Mathews Ave, Urbana, IL 61801
Email: johns_at_ks.uiuc.edu                 Phone: 217-244-3349
  WWW: http://www.ks.uiuc.edu/~johns/      Fax: 217-244-6078