On Nov 15, 2011, at 12:19 , William Stein wrote:

> On Tue, Nov 15, 2011 at 12:05 PM, Georg S. Weber
> <georgswe...@googlemail.com> wrote:
>> 
>> 
>> On 15 Nov., 18:18, Jeroen Demeyer <jdeme...@cage.ugent.be> wrote:
>>> On 2011-11-15 18:09, Maarten Derickx wrote:> I think 1024000000 byte wich 
>>> is about 1 gigabyte is a bit to much to
>>>> allocate just at once. So the main question is where does this number
>>>> come from and why is it so huge?
>>> 
>>> The Heegner test simply needs that much memory...
>>> 
>>> Normally you need between 2GB and 3GB of memory to run all doctests in
>>> Sage successfully.
>> 
>> Hmmm,
>> 
>> I run regularly "make testlong" on my old G4 PowerPC Mac, and that
>> system has only 768 MB RAM. Last time is just a couple of days ago
> 
> It's not the RAM that matters for "out of memory errors", but the
> amount of "memory", as Jereon says.    You could probably build and
> run the full test suite on a machine with 500MB RAM if you had
> sufficiently fast swap.   That said, swap can be slow, so some tests
> my time out even though they would eventually thrash through to
> completion if you let them run long enough.
> 
> (I actually just built Sage-4.7.2. from scratch on a free Amazon EC2
> instance with 600MB RAM.  It was crucial to create a swap file, since
> otherwise linbox fails to build.)
> 
> I don't understand how swap space works on Macs.  It seems that the
> operating system dynamically allocates it.  You probably have some on
> your old 768MB RAM mac.

That's correct: the dynamic pager manages paging space.  See "man 
dynamic_pager" for a little bit of info.

Justin

--
Justin C. Walker, Curmudgeon at Large
Director
Institute for the Enhancement of the Director's income
-----------
Question 43:
What if the hokey pokey
really *is* what it’s all about?
--

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to