Menu

#3 Patch for bug 2461912: Memory leak reading PDB files

open-works-for-me
nobody
None
5
2009-01-06
2009-01-06
No

I tracked down the memory leak. It was due to a circular reference between the Chemistry::Domain (representing residues) and the Chemistry::Atom objects via the latter's attr->{pdb/res} attribute, which was being assigned a hard copy of the corresponding Chemistry::Domain, instead of a reference to it when parsing the PDB files. The attached copy of the File::PDB module seems to solve the issue.

Discussion

  • Bruno Vecchi

    Bruno Vecchi - 2009-01-06

    Patched copy of File::PDB module

     
  • Bruno Vecchi

    Bruno Vecchi - 2009-01-06
    • summary: Patch for bug 2461912: Memory leak in MacroMol files --> Patch for bug 2461912: Memory leak reading PDB files
     
  • Bruno Vecchi

    Bruno Vecchi - 2009-01-06
    • status: open --> open-works-for-me
     

Log in to post a comment.