[issue4620] Memory leak with datetime used with time.strptime
Skip Montanaro [EMAIL PROTECTED] added the comment: A number of people on a number of platforms and versions can't reproduce this. -- resolution: - works for me stage: - committed/rejected status: open - closed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4620 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4620] Memory leak with datetime used with time.strptime
New submission from BEGUE [EMAIL PROTECTED]: When I use the following line in my process (my process run these line each 10 seconds), memory size increases progressively : myDate = datetime.datetime(*(time.strptime(dateString, %Y-%m-%dT%H:%M:%S)[0:6])) the '*' operator unpacks the tuple, producing the argument list for datetime.datetime but it seems that the structure return by time.strptime is not correctly flushed in memory. -- components: None messages: 77543 nosy: sebegue severity: normal status: open title: Memory leak with datetime used with time.strptime type: resource usage versions: Python 2.5 ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4620 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4620] Memory leak with datetime used with time.strptime
Skip Montanaro [EMAIL PROTECTED] added the comment: Can you reproduce this with a script that does nothing more than while True: myDate = datetime.datetime(*(time.strptime(2008-12-10T14:00:03, %Y-%m-%dT%H:%M:%S)[:6])) I tried with both Python 2.4.5 on Solaris and Python built from CVS (aka 2.7a0) on my Mac and see no memory growth of the processes. If there's a memory leak my guess is that it is somewhere else. -- nosy: +skip.montanaro ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4620 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4620] Memory leak with datetime used with time.strptime
Quentin Gallet-Gilles [EMAIL PROTECTED] added the comment: Tried it with Python 2.5.2 on WinXP, I see no memory growth either. -- nosy: +quentin.gallet-gilles ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4620 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4620] Memory leak with datetime used with time.strptime
Gabriel Genellina [EMAIL PROTECTED] added the comment: After running for more than 2 hours, I could not see any memory growth with 2.5.2 on WinXP. -- nosy: +gagenellina ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue4620 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com