From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/25313 Path: news.gmane.org!not-for-mail From: David Wooten Newsgroups: gmane.comp.tex.context Subject: Re: Font memory issues ? Date: Tue, 17 Jan 2006 13:46:19 -0800 Message-ID: References: <35AB8A55-351B-4B53-81D7-ED26F4652A69@trichotomic.net> <43C42D12.7020309@wxs.nl> <95E5C116-BA8D-42CC-A101-1B83BFEFD35B@trichotomic.net> <43C4BEC7.1050102@wxs.nl> <88E20D3D-0E24-417B-8B35-59B9AA0D27A9@trichotomic.net> <43C61319.3000104@wxs.nl> <43C6B66C.5000504@wxs.nl> <998CA16F-EC19-46D5-A067-5CD6716EE773@trichotomic.net> <850FBC5F-EFD3-4AAB-846C-73FB8FF2CAA3@trichotomic.net> <7A0FD463-98FA-4DB4-AE21-C284EEF5638F@uni-bonn.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v746.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1137534408 11884 80.91.229.2 (17 Jan 2006 21:46:48 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 17 Jan 2006 21:46:48 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Tue Jan 17 22:46:46 2006 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1Eyyex-0001Se-81 for gctc-ntg-context-518@m.gmane.org; Tue, 17 Jan 2006 22:46:35 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 02DB612849; Tue, 17 Jan 2006 22:46:34 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 26430-04; Tue, 17 Jan 2006 22:46:29 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 7D276127D5; Tue, 17 Jan 2006 22:46:29 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 30B31127D5 for ; Tue, 17 Jan 2006 22:46:27 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 26562-01-2 for ; Tue, 17 Jan 2006 22:46:25 +0100 (CET) Original-Received: from smtp104.sbc.mail.mud.yahoo.com (smtp104.sbc.mail.mud.yahoo.com [68.142.198.203]) by ronja.ntg.nl (Postfix) with SMTP id B0099127A2 for ; Tue, 17 Jan 2006 22:46:24 +0100 (CET) Original-Received: (qmail 76216 invoked from network); 17 Jan 2006 21:46:21 -0000 Original-Received: from unknown (HELO ?192.168.2.7?) (wooten.david@sbcglobal.net@69.106.41.125 with plain) by smtp104.sbc.mail.mud.yahoo.com with SMTP; 17 Jan 2006 21:46:21 -0000 In-Reply-To: <7A0FD463-98FA-4DB4-AE21-C284EEF5638F@uni-bonn.de> Original-To: mailing list for ConTeXt users X-Mailer: Apple Mail (2.746.2) X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:25313 Archived-At: 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