[tex-k] trouble with webmac21.tex

Wolfgang Helbig helbig at mailbox.org
Fri Feb 19 17:20:15 CET 2021


Hi Karl,
> Hi Wolfgang,
>
>           weave tex.web tex.ch tex.tex
>           tex tex.tex
>      will stop with:
>           Runaway argument?
>
> Doesn't happen for me with TL's tex.ch (and tex.web :)
> and the new webmac.tex.
>
>     ! TeX capacity exceeded, sorry [main memory size=30001].
>
> Seems like a small number for TeX memory. My "tex tex" run, with
> \tracingstats=1, reports:
>    32556 words of memory out of 5000000
>
> So I surmise you need to increase your memory size. --best, karl.
I did. Here is the result: *21 signifies the 2021 distribution, *14 the 
2014 distribution.
All tests are done with tex21.web and tex.ch from the 3rd ed. of TeX-FPC.

tex21, webmac21, maybe=iffalse
prints only 20,64,100 pages with 30000, 40000, 42062 memory words.

tex21 and webmac21: maybe=iftrue
prints all 566 pages and uses 24558 words.

tex21, webmac14, maybe=iffalse
prints all 100 pages and uses 24093 words.

tex21, webmac14, maybe=iftrue
prints all 100 pages and uses 24093 words.

tex14 and webmac21: maybe=iffalse
prints only 20 pages with 30000 memory words.

tex14 and webmac21: maybe=iftrue
prints all 566 pages and uses 24558 words.

tex14 and webmac14: maybe=iffalse
prints all 100 pages and uses 24093 words.

tex14 and webmac14: maybe=iftrue
prints all 566 pages and uses 24557 words.

To me this looks like a memory leak, either caused by a bug in tex14 and 
tex21 or
a bug introduced in webmac14.

please find the attached tar-archive that contains unchange.sh that 
creates a 14webmac.tex from a 21webmac.tex and tex.log.

happy weaving and bug hunting,

-- 
Wolfgang Helbig
Stauferstr. 22
71334 Waiblingen
Don't do evil - don't Google

-------------- next part --------------
A non-text attachment was scrubbed...
Name: memleak.tgz
Type: application/x-gzip
Size: 1087 bytes
Desc: not available
URL: <https://tug.org/pipermail/tex-k/attachments/20210219/e15843ea/attachment.bin>


More information about the tex-k mailing list.