[XeTeX] pool-size too small
jonathan_kew at sil.org
Wed Jul 28 14:38:27 CEST 2004
Chances are there are multiple texmf.cnf files on your system; this is
common, I believe. "kpsewhich texmf.cnf" only finds the "most local"
one, but TeX and friends actually read several .cnf files and collect
settings from them all, with the possibility of local settings
overriding generic ones.
On my Powerbook, I see three such files within the teTeX tree, as shown
[Kew-TiBook:~] jonathan% find /usr/local/teTeX -name texmf.cnf -print
pool_size (and many other things) are set in
/usr/local/teTeX/share/texmf/web2c/texmf.cnf, which is a standard TeX
Live .cnf file. But if I add a pool_size entry to
/usr/local/teTeX/texmf.cnf, that will take precedence, and will (I
think) survive a reinstallation of the main TeX package.
On 28 Jul 2004, at 1:28 pm, Stephen Moye wrote:
> I'm still a little green when it comes to messing around with TeX's
> internal workings, so please forgive me if this question is ubearably
> Just to get an idea of what is going in in the configuration file, I
> did this (I'm more comfortable with emacs):
> su emacs 'kpsewhich texmf.cnf'
> and did a search for 'pool_size' . I came up empty -- there was no
> pool_size line of any kind. Is this something that is added to the
> texmf.cnf file, or should it already be there?
> Thanks for any info.
> On Wednesday, July 28, 2004, at 04:29AM, Jonathan Kew
> <jonathan_kew at sil.org> wrote:
>> Hi Ross,
>> Sure, I can increase the default size. But that may not really be the
>> answer: you should be able to adjust it in your configuration. Try
>> something like
>> pool_size.xelatex = 1000000
>> in your texmf.cnf file (assuming you're running the program as
>> xelatex). Or change the default pool_size value from 125000 to
>> something larger. (Just looking.... I see mine is 1250000 here....
>> the extra zero!)
>> Note that the [pool size=66445] value you see doesn't seem to
>> correspond directly to the pool_size found in the configuration file.
>> That's probably why you assumed you couldn't change it from there. I
>> think this is an artifact of the scheme used internally to support
>> 16-bit strings without having to actually store 64K literal
>> one-character strings in the pool. I'll see if I can fix that to be
>> less misleading! I believe in your case xetex is using the 125000
>> figure from your texmf.cnf, but doesn't report it accurately in the
>> overflow message.
>> On 28 Jul 2004, at 2:23 am, Ross Moore wrote:
>>> Hi Jonathan,
>>> In running a test-document, generating lots of accented characters,
>>> and diacritics, I hit the pool-size limit:
>>> doing uppercase accents with \textlangleabove
>>> ! TeX capacity exceeded, sorry [pool size=66445].
>>> <argument> \textlangleabove
>>> The value of 66445 is pretty small for modern requirements.
>>> something in excess of 100000 is pretty normal these days...
>>> pool_size = 125000
>>> pool_size.hugetex = 1250000
>>> (from my texmf.cnf )
>>> and that 'hugetex' figure (> 1million) is used also by pdfetex .
>>> Since we cannot compile xetex for ourselves, it would
>>> make sense to distribute it with the larger pool-size.
>>> Would you do that please, in the next (minor) release ?
>>> Ross Moore
>>> ross at maths.mq.edu.au
>>> Mathematics Department office: E7A-419
>>> Macquarie University tel: +61 +2 9850
>>> Sydney, Australia fax: +61 +2 9850
>>> XeTeX mailing list
>>> postmaster at tug.org
>> XeTeX mailing list
>> postmaster at tug.org
> XeTeX mailing list
> postmaster at tug.org
More information about the XeTeX