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 ...]
In principle pure Python code should have no memory leaks - if there are, they're on Python itself.>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 datetime
module extensively. i use datetime.datetime.strptime,
datetime.timedelta, datetime.datetime.now methods...
Maybe this is an allocation problem, not an actual leak; if you can write a program that reproduces the problem, post a bug at http://bugs.python.org
--
Gabriel Genellina