By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
449,220 Members | 1,588 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 449,220 IT Pros & Developers. It's quick & easy.

Re: python memory leak only in x86 64 linux

P: n/a
En Wed, 16 Apr 2008 13:10:42 -0300, rk***** <rk*****@gmail.comescribió:
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 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 -
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, methods...
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
Gabriel Genellina

Jun 27 '08 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.