Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4977ff0

Browse files
committed
add a note about memory consumption and LaTeX
closes SF bug #721157
1 parent 3f26af7 commit 4977ff0

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

Doc/README

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,23 @@ To create HTML files:
143143
<http://www.latex2html.org/>.
144144

145145

146+
LaTeX (or pdfLaTeX) ran out of memory; how can I fix it?
147+
--------------------------------------------------------
148+
149+
This is known to be a problem at least on Mac OS X, but it has been
150+
observed on other systems in the past.
151+
152+
On some systems, the default sizes of some of the memory pools
153+
allocated by TeX needs to be changed; this is a configuration setting
154+
for installations based on web2c (most if not all installations).
155+
This is usually set in a file named texmf/web2c/texmf.cnf (where the
156+
top-level texmf/ directory is part of the TeX installation). If you
157+
get a "buffer overflow" warning from LaTeX, open that configuration
158+
file and look for the "main_memory.pdflatex" setting. If there is not
159+
one, you can add a line with the setting. The value 1500000 seems to
160+
be sufficient for formatting the Python documetantion.
161+
162+
146163
What if Times fonts are not available?
147164
--------------------------------------
148165

0 commit comments

Comments
 (0)