This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients David.Edelsohn, larry, serhiy.storchaka, vstinner
Date 2015-09-08.13:40:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1441719636.76.0.900261937713.issue25029@psf.upfronthosting.co.za>
In-reply-to
Content
Oh wait, the VmPeak is *much* high when running test_strptime:

* test_os VmPeak: 380 992 kB
* test_strptime VmPeak: 8 608 972 kB (8 GB!?)

1 GB should be enough for everybody:

$ bash -c 'ulimit -v 1000000; ./python -m test -v test_strptime'
..
======================================================================
ERROR: test_TimeRE_recreation (test.test_strptime.CacheTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  ...
  File "/home/haypo/prog/python/default/Lib/_strptime.py", line 75, in __init__
    self.__calc_am_pm()
  File "/home/haypo/prog/python/default/Lib/_strptime.py", line 114, in __calc_am_pm
    am_pm.append(time.strftime("%p", time_tuple).lower())
MemoryError
History
Date User Action Args
2015-09-08 13:40:36vstinnersetrecipients: + vstinner, larry, serhiy.storchaka, David.Edelsohn
2015-09-08 13:40:36vstinnersetmessageid: <1441719636.76.0.900261937713.issue25029@psf.upfronthosting.co.za>
2015-09-08 13:40:36vstinnerlinkissue25029 messages
2015-09-08 13:40:36vstinnercreate