[sage-devel] Re: Failing doctest in src/sage/rings/integer.pyx

2019-05-02 Thread jonathan.kliem via sage-devel
Update: The test just takes way too much memory for a doctest, I would think. Consider the following: sage: n = prod(primes_first_n(25)) sage: _ = n.divisors() This takes a good 3 GB of RAM and it does not appear to be a memory leak (the doctest claims this to be the problem on failure). I can

[sage-devel] Re: Failing doctest in src/sage/rings/integer.pyx

2019-05-01 Thread jonathan.kliem via sage-devel
Is there an option to run a patchbot with more memory as in `./sage -t --long --all -m ...'? There seems to be a general problem with `alarm` (especially when using `./sage -t`) for i in range(20): # long time try: alarm(RDF.random_element(1e-3, 0.5)) _ = n.