Skip to content

Memory leak with Chem.Atom() constructor #2639

Description

@AlanKerstjens

The following bit of code quickly gobbles up all available memory. Maybe I'm missing something but it looks like a memory leak.

from rdkit import Chem

while True:
    atom = Chem.Atom(0)

RDKit version: 2019.03.3.
Platform: Ubuntu (release 18.04)

I'm trying to use this code to create pseudoatoms. Is there perhaps any alternative?

Metadata

Metadata

Assignees

Labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions