扭曲的connectTCP内存泄漏?

时间:2010-02-23 09:27:23

标签: memory twisted memory-leaks

当我使用connectTCP时,我发现我的程序有内存泄漏。

<class 'twisted.internet.tcp.Client'> 
   <<class 'twisted.internet.tcp.Client'> to ('10.25.76.117', 8086) at 2066c5b0>
<type 'dict'> 
   {'_tempDataBuffer': [], 'protocol': None, '_tempDataLen': 0, 'realAddress': ('10
<type 'tuple'> 
   ('10.25.76.117', 8086)
<type 'list'> 
   []
<type 'instancemethod'> 
   <bound method Client.doConnect of <<class 'twisted.internet.tcp.Client'> to ('10
<type 'instancemethod'> 
   <bound method Client.doConnect of <<class 'twisted.internet.tcp.Client'> to ('10
<type 'tuple'> 
   ('10.25.76.117', 8086)

gc: collectable <Client 2066c770>
gc: collectable <dict 2066e4b0>
gc: collectable <tuple 206fa1e8>
gc: collectable <list 206478c8>
gc: collectable <instancemethod 206699b8>
gc: collectable <instancemethod 2046a6e8>
gc: collectable <tuple 206fa918>

1 个答案:

答案 0 :(得分:1)