Alec Matusis wrote: > Hello > > I am trying to debug a leaking TCP server written in Python running on Linux > x86_64 >
I think you're problem is right there - 'Python'. Python is a garbage-collected language, so it's impossible to really leak memory. All that you can do is forget where it's being referenced. Either: a) You've got references sticking around which you don't know about. b) You've got cycles of objects with __del__() methods (which the garbage collector can't free). c) The garbage collector has decided not to run yet. Python objects can't be leaked (at the C/valgrind level), because the Python run-time will keep references to them. -- Douglas Leeder Sophos Plc, The Pentagon, Abingdon Science Park, Abingdon, OX14 3YP, United Kingdom. Company Reg No 2096520. VAT Reg No GB 348 3873 20. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Valgrind-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/valgrind-users
