[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: SegFault in 2**111111111 calculation
From: |
Sylvain Pion |
Subject: |
Re: SegFault in 2**111111111 calculation |
Date: |
Wed, 6 Dec 2000 21:46:12 +0100 |
User-agent: |
Mutt/1.2.5i |
I think it's a stack size problem. If you set "limit stacksize 512M" in your
shell, then it works. Default is 8MB on linux, and I think I remember seeing
in the GMP doc that it sometimes stores temporaries on the stack.
BTW, to stop overcommitting memory on Linux, you can do
echo 1 > /proc/sys/vm/overcommit_memory
or something like that...
--
Sylvain
Re: SegFault in 2**111111111 calculation, Kevin Ryde, 2000/12/06