STINNER Victor <victor.stin...@gmail.com> added the comment:

I ran test_bigmem on my computer. The test pass but it is really slow.
----
$ ./python -m test -v -M 8G test_bigmem
(...
Ran 164 tests in 3228.227s

OK (skipped=44)
1 test OK.
----

One hour, whereas 44 tests are skipped. Skipped tests are the tests using the 
most quantity of memory, so I expect that they are even slower.

Do you need these tests using so much memory (and are really slow)?
---
test_capitalize (test.test_bigmem.StrTest) ... skipped 'not enough memory: 
24.0G minimum needed'
test_encode_utf32 (test.test_bigmem.StrTest) ... skipped 'not enough memory: 
9.0G minimum needed'
test_format (test.test_bigmem.StrTest) ... skipped 'not enough memory: 12.0G 
minimum needed'
test_repr_large (test.test_bigmem.StrTest) ... skipped 'not enough memory: 
10.0G minimum needed'
test_split_large (test.test_bigmem.StrTest) ... skipped 'not enough memory: 
20.0G minimum needed'
test_swapcase (test.test_bigmem.StrTest) ... skipped 'not enough memory: 24.0G 
minimum needed'
test_title (test.test_bigmem.StrTest) ... skipped 'not enough memory: 24.0G 
minimum needed'
test_translate (test.test_bigmem.StrTest) ... skipped 'not enough memory: 12.0G 
minimum needed'
test_split_large (test.test_bigmem.BytesTest) ... skipped 'not enough memory: 
20.0G minimum needed'
test_compare (test.test_bigmem.TupleTest) ... skipped 'not enough memory: 32.0G 
minimum needed'
test_concat_large (test.test_bigmem.TupleTest) ... skipped 'not enough memory: 
48.0G minimum needed'
test_concat_small (test.test_bigmem.TupleTest) ... skipped 'not enough memory: 
24.0G minimum needed'
test_contains (test.test_bigmem.TupleTest) ... skipped 'not enough memory: 
16.0G minimum needed'
test_from_2G_generator (test.test_bigmem.TupleTest) ... skipped 'not enough 
memory: 9.0G minimum needed'
test_from_almost_2G_generator (test.test_bigmem.TupleTest) ... skipped 'not 
enough memory: 9.0G minimum needed'
test_hash (test.test_bigmem.TupleTest) ... skipped 'not enough memory: 16.0G 
minimum needed'
test_index_and_slice (test.test_bigmem.TupleTest) ... skipped 'not enough 
memory: 16.0G minimum needed'
test_repeat_large (test.test_bigmem.TupleTest) ... skipped 'not enough memory: 
48.0G minimum needed'
test_repeat_large_2 (test.test_bigmem.TupleTest) ... skipped 'not enough 
memory: 12.0G minimum needed'
test_repeat_small (test.test_bigmem.TupleTest) ... skipped 'not enough memory: 
24.0G minimum needed'
test_repr_large (test.test_bigmem.TupleTest) ... skipped 'not enough memory: 
22.0G minimum needed'
test_append (test.test_bigmem.ListTest) ... skipped 'not enough memory: 18.0G 
minimum needed'
test_compare (test.test_bigmem.ListTest) ... skipped 'not enough memory: 32.0G 
minimum needed'
test_concat_large (test.test_bigmem.ListTest) ... skipped 'not enough memory: 
48.0G minimum needed'
test_concat_small (test.test_bigmem.ListTest) ... skipped 'not enough memory: 
24.0G minimum needed'
test_contains (test.test_bigmem.ListTest) ... skipped 'not enough memory: 16.0G 
minimum needed'
test_count (test.test_bigmem.ListTest) ... skipped 'not enough memory: 16.0G 
minimum needed'
test_extend_large (test.test_bigmem.ListTest) ... skipped 'not enough memory: 
32.0G minimum needed'
test_extend_small (test.test_bigmem.ListTest) ... skipped 'not enough memory: 
16.0G minimum needed'
test_hash (test.test_bigmem.ListTest) ... skipped 'not enough memory: 16.0G 
minimum needed'
test_index (test.test_bigmem.ListTest) ... skipped 'not enough memory: 16.0G 
minimum needed'
test_index_and_slice (test.test_bigmem.ListTest) ... skipped 'not enough 
memory: 16.0G minimum needed'
test_inplace_concat_large (test.test_bigmem.ListTest) ... skipped 'not enough 
memory: 48.0G minimum needed'
test_inplace_concat_small (test.test_bigmem.ListTest) ... skipped 'not enough 
memory: 24.0G minimum needed'
test_inplace_repeat_large (test.test_bigmem.ListTest) ... skipped 'not enough 
memory: 32.0G minimum needed'
test_inplace_repeat_small (test.test_bigmem.ListTest) ... skipped 'not enough 
memory: 16.0G minimum needed'
test_insert (test.test_bigmem.ListTest) ... skipped 'not enough memory: 18.0G 
minimum needed'
test_pop (test.test_bigmem.ListTest) ... skipped 'not enough memory: 16.0G 
minimum needed'
test_remove (test.test_bigmem.ListTest) ... skipped 'not enough memory: 16.0G 
minimum needed'
test_repeat_large (test.test_bigmem.ListTest) ... skipped 'not enough memory: 
48.0G minimum needed'
test_repeat_small (test.test_bigmem.ListTest) ... skipped 'not enough memory: 
24.0G minimum needed'
test_repr_large (test.test_bigmem.ListTest) ... skipped 'not enough memory: 
22.0G minimum needed'
test_reverse (test.test_bigmem.ListTest) ... skipped 'not enough memory: 16.0G 
minimum needed'
test_sort (test.test_bigmem.ListTest) ... skipped 'not enough memory: 16.0G 
minimum needed'
---

----------
nosy: +haypo

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue14107>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to