Message250199
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 |
|
Date |
User |
Action |
Args |
2015-09-08 13:40:36 | vstinner | set | recipients:
+ vstinner, larry, serhiy.storchaka, David.Edelsohn |
2015-09-08 13:40:36 | vstinner | set | messageid: <1441719636.76.0.900261937713.issue25029@psf.upfronthosting.co.za> |
2015-09-08 13:40:36 | vstinner | link | issue25029 messages |
2015-09-08 13:40:36 | vstinner | create | |
|