Sphinx needs huge amounts of memory

57 views
Skip to first unread message

Jeroen Demeyer

unread,
Apr 17, 2012, 4:53:17 PM4/17/12
to sage-devel
I started getting MemoryErrors while merging Sage releases and it was
also mentioned at #12313. Building the Sage documentation needs a lot
of memory. On 64-bit machines at least, you need *more than 2GB* of
virtual memory to build the documentation, this is probably more than
what you need to build all of Sage. I testing this by building the
documentation with ulimit -v 2097152.

I have not yet determined whether there is one ticket causing this, or
if it is just that Sphinx cannot handle the size of the Sage manual. My
first suspect was #9128, but removing that patch didn't help. I'll try
sage-4.8 and report back.


Jeroen.

Jeroen Demeyer

unread,
Apr 18, 2012, 3:29:45 AM4/18/12
to sage-...@googlegroups.com
On 2012-04-17 22:53, Jeroen Demeyer wrote:
> I started getting MemoryErrors while merging Sage releases and it was
> also mentioned at #12313. Building the Sage documentation needs a lot
> of memory. On 64-bit machines at least, you need *more than 2GB* of
> virtual memory to build the documentation, this is probably more than
> what you need to build all of Sage.
Confirmed also in sage-4.8. All of Sage builds with 1GB of virtual
memory (on boxen.math, x86_64 Linux), but the documentation needs a lot
more.

Dima Pasechnik

unread,
May 31, 2012, 6:58:36 AM5/31/12
to sage-...@googlegroups.com
actually, I recall seeing this in early May on my ARM sub-notebook, too.
(It only has 1GB, and 1GB or so of swap, and I recall seeing an oom-killer being invoked during the docbuild)

Actually, looks like a memory leak...

Dima
 
Reply all
Reply to author
Forward
0 new messages