There was a thread a while back on NLMSA creation memory leaks. What about when accessing AnnotationDBs? For example, this code:
from pygr import worldbase all_resources = worldbase.dir("Bio.Test.Annotation") dbs = filter(lambda x: x.endswith("db"), all_resources) for x in dbs: resource = worldbase(x) resource.close() This uses ~50-100MB per resource loaded, and it accumulates. In my case, the AnnotationDB's sliceDB is a MySQL table. Any ideas about where the memory could be going? Kenny -- You received this message because you are subscribed to the Google Groups "pygr-dev" group. To post to this group, send email to pygr-...@googlegroups.com. To unsubscribe from this group, send email to pygr-dev+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/pygr-dev?hl=en.