Hi,

Does anybody know how much RAM is required to build Sage these days.
 With MAKE not set, typing "make" with sage-6.2.rc2 on a VM with 4GB
RAM results in failure (see below).  Of course, I'm not using swap,
and of course with swap you can do anything if you're willing to wait.
 That said, it would be very useful to have some sort of statement
about required RAM, like we now have for disk space: "Make sure you
have the dependencies and 5 GB of free disk space."

[reference] build succeeded.
Build finished. The built documents can be found in /usr/local/sage/sage-6.2.rc2
/src/doc/output/html/en/reference
Error building the documentation.
Traceback (most recent call last):
  File "/usr/local/sage/sage-6.2.rc2/src/doc/common/builder.py", line 1477, in <
module>
    getattr(get_builder(name), type)()
  File "/usr/local/sage/sage-6.2.rc2/src/doc/common/builder.py", line 284, in _w
rapper
    pool = Pool(NUM_THREADS, maxtasksperchild=1)
  File "/usr/local/sage/sage-6.2.rc2/local/lib/python/multiprocessing/__init__.p
y", line 232, in Pool
    return Pool(processes, initializer, initargs, maxtasksperchild)
  File "/usr/local/sage/sage-6.2.rc2/local/lib/python/multiprocessing/pool.py",
line 159, in __init__
    self._repopulate_pool()
  File "/usr/local/sage/sage-6.2.rc2/local/lib/python/multiprocessing/pool.py",
line 222, in _repopulate_pool
    w.start()
  File "/usr/local/sage/sage-6.2.rc2/local/lib/python/multiprocessing/process.py
", line 130, in start
    self._popen = Popen(self)
  File "/usr/local/sage/sage-6.2.rc2/local/lib/python/multiprocessing/forking.py
", line 121, in __init__
    self.pid = os.fork()
OSError: [Errno 12] Cannot allocate memory
make: *** [doc-html] Error 1

real    233m9.925s
user    197m29.292s
sys     22m18.145s
salvus@salvus-base:/usr/local/sage/sage-6.2.rc2$ echo $MAKE

salvus@salvus-base:/usr/local/sage/sage-6.2.rc2$ free -g
             total       used       free     shared    buffers     cached
Mem:             3          2          1          0          0          0
-/+ buffers/cache:          2          1
Swap:            0          0          0


---

For now, of course, I'm just going to shutdown my VM, add more memory,
and start it up again.

 -- William


-- 
William Stein
Professor of Mathematics
University of Washington
http://wstein.org

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to