En Wed, 16 Apr 2008 13:10:42 -0300, rkmr.em@gmail.c om <rkmr.em@gmail. comescribió:
In principle pure Python code should have no memory leaks - if there are, they're on Python itself.
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
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 32 bit python].. is something wrong in the code?
>
[... Python code using the datetime module ...]
>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.dateti me.strptime,
> datetime.timede lta, datetime.dateti me.now methods...
> 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.dateti me.strptime,
> datetime.timede lta, datetime.dateti me.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