Hmm... I tried the gc.collect(). It aint helping. The reference count still keeps growing till 5 after it which it drops. As you said, it is not gonna hurt right away.
The only downside in that mysterious up and down thingie is that , we could get to a wrong conclusion about a leak, if we ran the algo for say 3 times. Right ? Thanks Heiko for all the help. And in case, you get to decode the mystery behind the increase before the decrease ..kindly let me know. Bye, Raghavan V -- http://mail.python.org/mailman/listinfo/python-list