#13588: libGAP! -- create a Cython library interface to gap
----------------------------------+-----------------------------------------
Reporter: vbraun | Owner: joyner
Type: enhancement | Status: needs_work
Priority: major | Milestone: sage-5.7
Component: group theory | Resolution:
Keywords: | Work issues:
Report Upstream: N/A | Reviewers: Dmitrii Pasechnik
Authors: Volker Braun | Merged in:
Dependencies: #13211, #13880 | Stopgaps:
----------------------------------+-----------------------------------------
Changes (by jdemeyer):
* status: positive_review => needs_work
Comment:
I'm still not entirely happy with the memory allocation during
docbuilding. For reasons I cannot understand, the documentation used to
build fine with
{{{
ulimit -v 2500000
}}}
but now it needs
{{{
ulimit -v 3500000
}}}
which is an increase of 1GB. Of course, the documentation is also getting
bigger, but that explains only a small part of the increase. Also, on the
buildbot I'm seeing sometimes errors of the form
{{{
sphinx-build -b html -d
/home/buildbot/build/sage/iras-1/iras_full/build/sage-5.7.beta0/devel/sage/doc/output/doctrees/de/tutorial
/home/buildbot/build/sage/iras-1/iras_full/build/sage-5.7.beta0/devel/sage/doc/de/tutorial
/home/buildbot/build/sage/iras-1/iras_full/build/sage-5.7.beta0/devel/sage/doc/output/html/de/tutorial
Traceback (most recent call last):
File
"/home/buildbot/build/sage/iras-1/iras_full/build/sage-5.7.beta0/devel/sage/doc/common/builder.py",
line 1093, in <module>
getattr(get_builder(name), type)()
File
"/home/buildbot/build/sage/iras-1/iras_full/build/sage-5.7.beta0/devel/sage/doc/common/builder.py",
line 232, in _wrapper
getattr(get_builder(document), name)(*args, **kwds)
File
"/home/buildbot/build/sage/iras-1/iras_full/build/sage-5.7.beta0/devel/sage/doc/common/builder.py",
line 88, in f
subprocess.call(build_command, shell=True)
File
"/home/buildbot/build/sage/iras-1/iras_full/build/sage-5.7.beta0/local/lib/python/subprocess.py",
line 493, in call
return Popen(*popenargs, **kwargs).wait()
File
"/home/buildbot/build/sage/iras-1/iras_full/build/sage-5.7.beta0/local/lib/python/subprocess.py",
line 679, in __init__
errread, errwrite)
File
"/home/buildbot/build/sage/iras-1/iras_full/build/sage-5.7.beta0/local/lib/python/subprocess.py",
line 1143, in _execute_child
self.pid = os.fork()
OSError: [Errno 12] Cannot allocate memory
make: *** [doc-html-mathjax] Error 1
}}}
I suspect that GAP has something to do with this.
Could you somehow fix the memory allocation to allocate an absolutely
minimal amount during docbuilding? Maybe it would make sense to introduce
an environment variable `SAGE_GAP_MEGABYTES` which could be user-set to
the desired memory size and which would be set by the docbuilder to a
small number (say, 1 MB).
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13588#comment:68>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.