Thanks Thomas,

I've still no luck, but I think things are quite a bit clearer now. I "stumbled" across an old fink installation, the existence of which hadn't crossed my mind for quite some time. That is now gone. I have also reinstalled my tex/context set-up via the i-Installer just to clear the air.

Here is what I currently see: there are 3 cnf files that may be involved:

        /usr/local/teTeX/share/texmf.local/web2c/context.cnf

Which declares:

        % This file is mostly the same as the one that ships with
        % texlive, but adapted for multiple trees as well as
        % development in a non tds tree (i.e. hh's machine). This
        % file is meant for context users.
        %
        % This file loads before texmf/web2c/texmf.cnf; beware :
        % the selfish auto parent can get in the way especially when
        % the binaries are located elsewhere. In case of multiple
        % trees, one can best set the following ones manually.

I believe that Hans said this was just an example file (?), but it has the memory.context settings including:

        font_max.context         =    2000
        font_mem_size.context    = 1000000
        main_memory.context      = 2000000

Second, there is:

        /usr/local/teTeX/share/texmf/web2c/texmf.cnf

Which is referred to in the above context.cnf, and which declares:

        % original texmf.cnf -- runtime path configuration file for kpathsea.
        % (If you change or delete `original' on the previous line, the
        % distribution won't install its version over yours.)
        % Public domain.

        [Stuff skipped] 

% Earlier entries (in the same or another file) override later ones, and % an environment variable foo overrides any texmf.cnf definition of foo.
        
This file also has memory settings, such as:

        % ConTeXt is a memory hog...
        main_memory.context = 2000000 % Keep total within 8000000 limit
        extra_mem_bot.context = 4000000
% Words of font info for TeX (total size of all TFM files, approximately).
        font_mem_size = 2000000
% Total number of fonts. Must be >= 50 and <= 2000 (without tex.ch changes).
        font_max = 2000

And finally,

        /usr/local/teTeX/texmf.cnf

Which is identified by
        
        kpsewhich texmf.cnf

and which has no memory settings.

I have tried changing the memory settings in each file (that means adding them to /usr/local/teTeX/texmf.cnf), raising the main_memory to 3000000 and the font_mem_size likewise to 3000000, and then running texexec --make --all. No change in the resulting readout:

        Here is how much of TeX's memory you used:
        4681 strings out of 60921
        74346 string characters out of 610603
        4609149 words of memory out of 7114466
        40727 multiletter control sequences out of 10000+50000
        1927616 words of font info for 332 fonts, out of 2000000 for 2000
        232 hyphenation exceptions out of 5000
62i,21n,81p,1198b,1755s stack positions out of 5000i,500n,6000p, 200000b,40000s
        PDF statistics:
        170 PDF objects out of 300000
        0 named destinations out of 131072
        109061 words of extra memory for PDF output out of 128383

At this point I would very much like to be embarrassed by a simple, too-obvious pointer ;)

Thanks very much,
David

On Jan 17, 2006, at 10:31 AM, Thomas A. Schmitz wrote:

1. Don't use texconfig for context, use texexec --make --all

2. If you use texonfig, the command is texconfig-sys, or you'll end up having inconsistent files for different users.

Best

Thomas

On Jan 17, 2006, at 6:35 PM, David Wooten wrote:

Hmm, interesting. I used "texconfig init". No, there seems to be no change if I rename it.

Thanks,
David


_______________________________________________
ntg-context mailing list
[email protected]
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to