STINNER Victor added the comment: 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 ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue25029> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com