[tex-eplain] TeX capacity exceeded
karl at freefriends.org
Wed Mar 5 10:02:30 CET 2003
(As Dorai said, this isn't an eplain question, but anyway ...)
(./juni2002.bbl )   (./quantile.tex
! TeX capacity exceeded, sorry [main memory size=384000].
<template> \hskip \tabcolsep
l.1022 ... -.1493 & -1.7655 & -2.0863 & -
1) The details of increasing the main memory depend on which TeX system
you are using. If you are using a web2c-based TeX, you can change
some settings in texmf.cnf, I'll append the fragment from texmf.cnf.
Although it is not step-by-step instructions, it may give you a start.
If you're using miktex or some other non-web2c tex, then all I can
suggest is checking their documentation and writing to their mailing
list if that fails.
2) Alternatively, it looks like you are typesetting a very large table.
With tables, TeX has to read all the way to the end before it can
process anything. If the table is really just numbers, not varying
information, you could write it another way that doesn't require
that: determine the correct column width yourself (for instance,
\divide\hsize by 4), and then just set the numbers in boxes of that
Hope this helps.
% main_memory is relevant only to initex, extra_mem_* only to non-ini.
% Thus, have to redump the .fmt file after changing main_memory; to add
% to existing fmt files, increase extra_mem_*. (To get an idea of how
% much, try \tracingstats=2 in your TeX source file;
% web2c/tests/memtest.tex might also be interesting.)
% To increase space for boxes (as might be needed by, e.g., PiCTeX),
% increase extra_mem_bot.
main_memory = 1500000 % words of inimemory available; also applies to inimf&mp
extra_mem_top = 0 % extra high memory for chars, tokens, etc.
extra_mem_bot = 0 % extra low memory for boxes, glue, breakpoints, etc.
More information about the tex-eplain