It's been a problem for a while, check the thread
"[PyMOL] Memory not released after load and delete of structure" froom 2012.

Martin





On 04.04.14 21:54, Thomas Holder wrote:
> Hi Osvaldo,
>
> you are right, I can reproduce this. We'll look into it and let you know when 
> it has been fixed.
>
> Cheers,
>    Thomas
>
> On 02 Apr 2014, at 20:30, Osvaldo Martin <aloctavo...@gmail.com> wrote:
>> Hi,
>>
>> I need to run an script based on PyMOL  for a thousands of proteins. The 
>> problem is that even when I delete all object the RAM usage keeps 
>> increasing. I am using PyMOL 1.7 on ubuntu 14.04 (beta 2).
>>
>>
>> my script looks like this.
>>
>> import __main__
>> __main__.pymol_argv = ['pymol','-qc']
>> import pymol
>> from pymol import cmd, stored
>> import glob
>>
>> pdb_files = glob.glob('*.pdb')
>> for protein in pdb_files:
>>          cmd.load(protein)
>>          "some code here"
>>          cmd.delete('all')
>>
>>
>> I tried the following.
>>
>> 1) removing the  "some code here"
>> 2) adding cmd.reinitialize()
>> 3) adding cmd.set('suspend_undo', 1) 
>> (https://www.mail-archive.com/pymol-users@lists.sourceforge.net/msg11126.html)
>>
>> Cheers and thanks in advance.

-- 
Dr. Martin R. Hediger
Im Wingert 22
8049 Zürich


------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net)
Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net

Reply via email to