Unimporting modules, memory leak?

2006-06-13 Thread Antonio Arauzo Azofra
ith each module imported/unimported Is this a Python bug? A Linux bug? Am i missing some way of freeing that memory used by C module? [1] http://mail.python.org/pipermail/python-list/1999-May/002669.html [2] http://ax5.com/antonio/orangesnns -- Saludos, Antonio Arauzo Azofra def funcion_de_prueb

Unimporting modules, memory leak?

2006-06-14 Thread Antonio Arauzo Azofra
ame, globals(), locals()) printMemoryUse() del sys.modules[moduleName] print "Check refs (should be = 2):", sys.getrefcount(module) del module printMemoryUse() testImport("mod1") testImport("bigModule") testImport("random") -- Regards, Antonio Arauzo Azofra -- http://mail.python.org/mailman/listinfo/python-list

Unimporting modules, memory leak?

2006-06-16 Thread Antonio Arauzo Azofra
ith each module imported/unimported Is this a Python bug? A Linux bug? Am i missing some way of freeing that memory used by C module? [1] http://mail.python.org/pipermail/python-list/1999-May/002669.html [2] http://ax5.com/antonio/orangesnns -- All the best, Antonio Arauzo Azofra def funcio