[OS X TeX] Fontspec and memory management

Jacques ANDRÉ jacques.andre35 at gmail.com
Sun Jul 7 04:59:32 EDT 2013


The following program (obviously it is a minimal extract to show the problem) loops on MacOSX 10.8.2, and TeXLive 2013:

%!TEX encoding = UTF-8 Unicode 
\documentclass{article} 
\usepackage{fontspec}
\usepackage{multido}
\newcounter{ctr}
\begin{document}
\multido{\ia=0+1}{130000}{\setcounter{ctr}{\ia}} % runs OK 
\multido{\ia=0+1}{100000}{\fontspec{Arial}}% OK
\multido{\ia=0+1}{110000}{\fontspec{Arial}}% TeX capacity exceeded, sorry [number of strings=494718].
\end{document}

as if fontspec leaves "something" in core memory. Bug or feature?

Jacques André



More information about the MacOSX-TeX mailing list