[Sqlalchemy-tickets] Issue #4083: Possible memory leak? (zzzeek/sqlalchemy)
Brought to you by:
zzzeek
From: Levon S. <iss...@bi...> - 2017-09-19 11:20:58
|
New issue 4083: Possible memory leak? https://bitbucket.org/zzzeek/sqlalchemy/issues/4083/possible-memory-leak Levon Saldamli: I have an application running with sqlalchemy which periodically imports some archives and creates database model objects, where objects of type BindParameter keeps increasing each time by some numbers. But I can't find any references to these objects that also increase. I'm using pdb and objgraph to find references, and as far as I can see using those tools, only BinaryExpression objects refer to BindParameter objects, but there is also a cyclic reference from Comparator objects (also not increasing in number). Is this a memory leak? See attached graph of the references. At this moment number of objects in memory are: Comparator=3, BinaryExpression=11, BindParameter=569 |