[tex4ht] ! TeX capacity exceeded, sorry [save size=100000]. with tex4ht only

Nasser M. Abbasi nma at 12000.org
Mon Aug 24 01:05:51 CEST 2020


On 8/23/2020 4:40 PM, Karl Berry wrote:
>      save_size=1000000
> 
> I'm not sure if I want to increase the default save_size by 10x,
> but if, say, 200000 (2x) or 3x is enough, I could change the default.
> Can you give that a try?
> 
> After all, it happens for you on some large document, more than likely
> it will happen to other people with their own large documents. And if
> it's L3-related (not surprising), becomes even more likely, even
> independent of tex4ht. --thanks, karl.
> 

I just confirmed it works for 200,000. To make sure, I set it back to
100,000 and got the error again

====================
l.147634 --- TeX4ht warning --- \Link{ }? ---
[18313]
l.147634 --- TeX4ht warning --- \Link{ }? ---
! TeX capacity exceeded, sorry [save size=100000].
<to be read again>
\afterassignment
l.147634      \section
                     {Various 31}
  265796 words of node memory still in use:
    40 hlist, 5 vlist, 13 rule, 2 disc, 7 local_par, 1 dir, 54 glue, 7 kern, 10 penalty, 39 glyph, 65952 attribute, 82 glue_spec, 65952 attribute_list, 1 temp, 4 if_stack, 3 write, 62 special nodes
    avail lists: 1:2,2:1396,3:14492,4:216,5:4535,6:1076,7:108741,8:4849,9:12506,10:28,11:1517
!  ==> Fatal error occurred, bad output DVI file produced!
Output written on index.dvi (18579 pages, 145891588 bytes).
Transcript written on index.log.
[FATAL]   make4ht-lib: Fatal error. Command htlatex returned exit code 1
==============================

So it looks like 200,000 should be enough as default for TL instead of current
one value of 100,000.

This is using TL 2020 on ubuntu under windows 10 linux subsystem.


Regards
--Nasser


More information about the tex4ht mailing list.