It seems that the memory management of python on Linux and windows are different.
Following is my code snip.
Could some one explain why?
Many thanks.
My python is 2.7.3
class A(object):
def __init__(self):
self.a = 'a' * 100
l = [A() for i in xrange(1024 * 1024)] #alloc a lot of memory
l = None # On Windows memory will be released, but not on Linux!