Sphinx imports all modules when building the documentation. Some of the groups cimport libgap, so libgap is being initialized indirectly. Since these are Cython imports you can't move then to function/method scope.
On Thursday, June 5, 2014 10:24:18 AM UTC+1, Alexander Konovalov wrote: > > Hmm, it's not necessary to load GAP package to build its documentation - > unless I misunderstood the issue completely and you're speaking about > another part of documentation. Anyhow, the part of the patch asking for > more memory looks fine to me. > > Alexander > > On Wednesday, June 4, 2014 7:11:12 PM UTC+1, Volker Braun wrote: >> >> I was finally able to reproduce the docbuild hang with the "gap: cannot >> extend the workspace any more!" error. It seems to be triggered by the >> optional gap_packages which increases the required memory. A quick strace >> shows that the error is fatal in libgap, and therefore breaks docbuild. >> >> I've fixed it as part of the gap-4.7.5 update: >> http://trac.sagemath.org/16440 (needs review) >> > -- 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.