eftsung / pygr

Automatically exported from code.google.com/p/pygr
0 stars 0 forks source link

Patch for NLMSASlice cache hint memory leak; associated tests; refactoring of cache code. #27

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
cnestedlist.NLMSASlice has a memory leak (under Pyrex 0.9.8.4) where
__dealloc__ cannot properly delete cache objects from seqdb.cacheProxyDict
stored under self.deallocID, because __dealloc__ cannot call Python methods.

The three attached patches demonstrate this problem, fix the problem, and
then refactor the cacheHint code to eliminate now-unnecessary logic.

Original issue reported on code.google.com by the.good...@gmail.com on 1 Sep 2008 at 6:11

Attachments:

GoogleCodeExporter commented 8 years ago
Another patch, switching to using the NLMSASlice object itself as the reference
holder as per 
http://groups.google.com/group/pygr-dev/browse_frm/thread/793289d312a90d71

Original comment by the.good...@gmail.com on 2 Sep 2008 at 7:16

Attachments:

GoogleCodeExporter commented 8 years ago

Original comment by cjlee...@gmail.com on 10 Sep 2008 at 8:16

GoogleCodeExporter commented 8 years ago

Original comment by cjlee...@gmail.com on 11 Sep 2008 at 3:36

GoogleCodeExporter commented 8 years ago

Original comment by mare...@gmail.com on 21 Feb 2009 at 2:04

GoogleCodeExporter commented 8 years ago

Original comment by cjlee...@gmail.com on 4 Mar 2009 at 11:27

GoogleCodeExporter commented 8 years ago

Original comment by mare...@gmail.com on 13 Mar 2009 at 12:56

GoogleCodeExporter commented 8 years ago
added via Titus' commits f1585, 8d9966, bbfe9; revised in my commits 366047, 
ddeec.  

Original comment by cjlee...@gmail.com on 8 Apr 2009 at 1:33