Re: any problem with py's RC?

2007-08-24 Thread Marc 'BlackJack' Rintsch
On Fri, 24 Aug 2007 19:44:37 +0800, Yan Zhu wrote: > Here is 3 PYs, we found there is a big memory wasting, specially the program > c.py, we found the memory will increase very soon. > any body knows why? any RC's problem? thanks You are creating reference cycles and instantiate many in very shor

any problem with py's RC?

2007-08-24 Thread Yan Zhu
hi all, Here is 3 PYs, we found there is a big memory wasting, specially the program c.py, we found the memory will increase very soon. any body knows why? any RC's problem? thanks -- eSX class a(): def __init__(self): fp = open("a_file_lager_1M","rb") self