Re: python memory leak only in x86 64 linux

2008-04-20 Thread Gabriel Genellina
En Wed, 16 Apr 2008 13:10:42 -0300, [EMAIL PROTECTED] <[EMAIL PROTECTED]> escribió: > This is the code that is causing memory leak in 64 bit python [but not > in 32 bit python].. is something wrong in the code? > > [... Python code using the datetime module ...] >> the memory usage of a python a

Re: python memory leak only in x86 64 linux

2008-04-16 Thread [EMAIL PROTECTED]
This is the code that is causing memory leak in 64 bit python [but not in 32 bit python].. is something wrong in the code? now = datetime.datetime.now() oneday = datetime.timedelta(days=1) def birthdaycompare(a, b): if a is None and b: return 1 if a and b is None: return -1

python memory leak only in x86 64 linux

2008-04-15 Thread [EMAIL PROTECTED]
the memory usage of a python app keeps growing in a x86 64 linux continuously, whereas in 32 bit linux this is not the case. Python version in both 32 bit and 64 bit linux - 2.6.24.4-64.fc8 Python 2.5.1 (r251:54863, Oct 30 2007, 13:45:26) i isolated the memory leak problem to a function that uses