Re: [AMBER] tLeap memory leak

From: Bill Ross <ross.cgl.ucsf.EDU>
Date: Wed, 29 Sep 2010 09:26:46 -0700

> source leaprc.ff03.r1
> pdb = loadPdb file1.pdb
> savePdb pdb file1.pdb
> pdb = loadPdb file2.pdb
> savePdb pdb file2.pdb
> pdb = loadPdb file3.pdb
> savePdb pdb file3.pdb
> ...
>
> The memory usage increases to 1 GB in about a minute or two and goes even
> further. Is this really a memory leak?

I expect so - since you reuse the variable 'pdb', I am guessing
that it does not free the old structure before reassigning the
variable. This is not a common use case, so never was caught
before.

Bill

_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Wed Sep 29 2010 - 09:30:08 PDT
Custom Search