test_risch.py with --slow enabled won't complete

10 views
Skip to first unread message

Brian Stephanik

unread,
Oct 18, 2012, 8:54:38 PM10/18/12
to sy...@googlegroups.com
In running 
./bin/test sympy/integrals/tests/test_risch.py --slow
my computer hangs on the second of the two tests. I tried letting it run for 15 or so minutes, but my Python process eventually ate up about 4 GB of memory.

As I'm rather new to this, I figure I'd ask for advice before submitting a bug. I know --slow means slow, but this seems a bit abnormal, especially the memory issue. I couldn't find a bug/thread specifically mentioning this.

Best,

Brian

Brian Stephanik

unread,
Oct 18, 2012, 8:56:39 PM10/18/12
to sy...@googlegroups.com
I should mention, I'm running Python 2.7.3 on 64-bit OS X 10.8 (Mountain Lion).

Aaron Meurer

unread,
Oct 18, 2012, 9:51:42 PM10/18/12
to sy...@googlegroups.com
I also got this problem. The slow tests are tests that might take a
really long time to complete. Sometimes, they might also eat up a lot
of memory, as you saw. Probably that particular test should just be
removed, or completely skipped.

If you do run --slow, though, I would recommend always also using
--timeout (--timeout 1000 or --timeout 10000 should be fine).
Otherwise, you run the risk of a test hanging forever, and potentially
eating all your memory.

Aaron Meurer

On Thu, Oct 18, 2012 at 6:56 PM, Brian Stephanik <xoe...@gmail.com> wrote:
> I should mention, I'm running Python 2.7.3 on 64-bit OS X 10.8 (Mountain
> Lion).
>
> --
> You received this message because you are subscribed to the Google Groups
> "sympy" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/sympy/-/cvFMDOwy-tEJ.
>
> To post to this group, send email to sy...@googlegroups.com.
> To unsubscribe from this group, send email to
> sympy+un...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/sympy?hl=en.
Reply all
Reply to author
Forward
0 new messages