From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/32149 Path: news.gmane.org!not-for-mail From: andrea valle Newsgroups: gmane.comp.tex.context Subject: Re: TeX capacity exceeded with my macros Date: Fri, 15 Dec 2006 17:01:26 +0100 Message-ID: <1d65a2e2be0a0150ceb7b07c5150eef3@di.unito.it> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: dough.gmane.org Mime-Version: 1.0 (Apple Message framework v623) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1166200763 2594 80.91.229.10 (15 Dec 2006 16:39:23 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 15 Dec 2006 16:39:23 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Fri Dec 15 17:39:19 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 dough.gmane.org with esmtp (Exim 4.50) id 1GvG5X-00040J-40 for gctc-ntg-context-518@m.gmane.org; Fri, 15 Dec 2006 17:39:11 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 16EB21FA4C; Fri, 15 Dec 2006 17:38:16 +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 03369-01-12; Fri, 15 Dec 2006 17:38:11 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id E357F1FF86; Fri, 15 Dec 2006 17:01:44 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A7DCE1FF6D for ; Fri, 15 Dec 2006 17:01:42 +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 00934-06 for ; Fri, 15 Dec 2006 17:01:34 +0100 (CET) Original-Received: from pianeta.di.unito.it (pianeta.di.unito.it [130.192.156.1]) by ronja.ntg.nl (Postfix) with SMTP id 8819A1FF8B for ; Fri, 15 Dec 2006 17:01:34 +0100 (CET) Original-Received: from [192.168.3.104] (multilabfw-nat3.multilab.unito.it [130.192.205.50]) by pianeta.di.unito.it (INFO-DIP) with ESMTP id kBFG1UM2029919 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NO userCertificateDN= AuthenticatedUser=valle ) for ; Fri, 15 Dec 2006 17:01:31 +0100 (MET) In-Reply-To: Original-To: mailing list for ConTeXt users X-Mailer: Apple Mail (2.623) X-dipinfo-MailScanner-Information: Please contact Department of Computer Science technical staff for more information X-AntiVirus: Scanned for viruses by VirusFinder @2001-tecnici@di.unito.it - Email Clean X-SpamCheck: not spam, SpamAssassin (score=-104.399, required 3.5, autolearn=not spam, ALL_TRUSTED -1.80, AUTHENTICATEDUSER -100.00, BAYES_00 -2.60) X-MailScanner-From: valle@di.unito.it X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 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:32149 Archived-At: Luigi, I'm totally ignorant but I know for sure there are some messages on the = list on the topic (one thread started by me). Maybe it could be helpful = to check the archives? Best -a- On 15 Dec 2006, at 16:55, luigi scarso wrote: > I have a > TeX capacity exceeded > message. > I think I'm doing too much, > but before to try another way I would know if > I should enlarge context. > > This macro is called ~ 70 000 times > \SetArtValue{1:330128:1007:336:1:d}{} > > PS > No problem if none answer to this message. > > ----------------------------------------------------------------------- = > ----- > \def\SetArtValue#1#2{% > \edef\Temp{#1} > \beforesplitstring#1\at:\to\Lang\aftersplitstring#1\at:\to\Temp%% > \beforesplitstring\Temp\at:\to\Code\aftersplitstring\Temp\at:\to\Temp%% > \beforesplitstring\Temp\at:\to\RowLabelId\aftersplitstring\Temp\at: = > \to\Temp%% > \beforesplitstring\Temp\at:\to\RowId\aftersplitstring\Temp\at: = > \to\Temp%% > \doiffirstcharelse{9}{\Code}{}{%else > \setgvalue{\Code:\RowId}{{\RowLabelId,#2}} > \setxvalue{\Code}{\Code} > \@EA\doifinsetelse\@EA{\@EA\RowId\@EA}\@EA{\the\ArticlesRowIdList}{\rel = > ax}{\@EA\appendtoks\RowId,\to\ArticlesRowIdList} > \setxvalue{Array:\the\Row: = > \the\SummaryTableCountArticles}{(r=3D\the\Row,c=3D\the\SummaryTableCountA= rt = > icles)}% > } > } > > > > > \SetArtValue{1:330128:1007:336:1:d}{} > > ! TeX capacity exceeded, sorry [hash size=3D60000]. > \setgvalue ...andafter \gdef \csname #1\endcsname > > \setgvalue {\Code :\RowId } > {{\RowLabelId ,}} \setxvalue = > {\Code }{... > > \secondoftwoarguments #1#2->#2 > > \SetArtValue ...\RowId ,\to \ArticlesRowIdList } } > > l.21796 \SetArtValue{1:330128:1007:336:1:d}{} > %Doleplate\width - mm > If you really absolutely need more capacity, > you can ask a wizard to enlarge me. > > > Here is how much of TeX's memory you used: > 25279 strings out of 62456 > 270234 string characters out of 659612 > 4705997 words of memory out of 5746700 > 60000 multiletter control sequences out of 10000+50000 > 46713 words of font info for 77 fonts, out of 500000 for 2000 > 408 hyphenation exceptions out of 1000 > 47i,15n,56p,343b,556s stack positions out of = > 3000i,1500n,5000p,200000b,15000s > PDF statistics: > 2 PDF objects out of 300000 > 0 named destinations out of 131072 > 7 words of extra memory for PDF output out of 65536 > ! =3D=3D> Fatal error occurred, the output PDF file is not finished! > > My texmf.cnf > % ConTeXt is a memory hog... > extra_mem_top.context =3D 2000000 > extra_mem_bot.context =3D 4000000 > main_memory.context =3D 1500000 > _______________________________________________ > ntg-context mailing list > ntg-context@ntg.nl > http://www.ntg.nl/mailman/listinfo/ntg-context > > Andrea Valle DAMS - Facolt=E0 di Scienze della Formazione Universit=E0 degli Studi di Torino http://www.semiotiche.it/andrea andrea.valle@unito.it