From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/32147 Path: news.gmane.org!not-for-mail From: "luigi scarso" Newsgroups: gmane.comp.tex.context Subject: TeX capacity exceeded with my macros Date: Fri, 15 Dec 2006 16:55:28 +0100 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: dough.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1166198153 24887 80.91.229.10 (15 Dec 2006 15:55:53 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 15 Dec 2006 15:55:53 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Fri Dec 15 16:55:52 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 1GvFPY-0005bu-SG for gctc-ntg-context-518@m.gmane.org; Fri, 15 Dec 2006 16:55:48 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 1F15B1FF6A; Fri, 15 Dec 2006 16:55:21 +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 32498-06; Fri, 15 Dec 2006 16:55:14 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id E095F1FF12; Fri, 15 Dec 2006 16:55:13 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 0042D1FF2A for ; Fri, 15 Dec 2006 16:55:11 +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-01 for ; Fri, 15 Dec 2006 16:55:06 +0100 (CET) Original-Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.225]) by ronja.ntg.nl (Postfix) with SMTP id 2E1D51FEBD for ; Fri, 15 Dec 2006 16:55:02 +0100 (CET) Original-Received: by nz-out-0506.google.com with SMTP id z3so429165nzf for ; Fri, 15 Dec 2006 07:55:28 -0800 (PST) Original-Received: by 10.65.15.17 with SMTP id s17mr1415895qbi.1166198128611; Fri, 15 Dec 2006 07:55:28 -0800 (PST) Original-Received: by 10.65.215.1 with HTTP; Fri, 15 Dec 2006 07:55:28 -0800 (PST) Original-To: "mailing list for ConTeXt users" Content-Disposition: inline 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:32147 Archived-At: 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}{\relax}{\@EA\appendtoks\RowId,\to\ArticlesRowIdList} \setxvalue{Array:\the\Row:\the\SummaryTableCountArticles}{(r=\the\Row,c=\the\SummaryTableCountArticles)}% } } \SetArtValue{1:330128:1007:336:1:d}{} ! TeX capacity exceeded, sorry [hash size=60000]. \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 ! ==> Fatal error occurred, the output PDF file is not finished! My texmf.cnf % ConTeXt is a memory hog... extra_mem_top.context = 2000000 extra_mem_bot.context = 4000000 main_memory.context = 1500000