ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Unable To Render Table With Over 3000 Rows
Date: Fri, 30 May 2014 18:11:46 +0200	[thread overview]
Message-ID: <5388ADC2.2050009@wxs.nl> (raw)
In-Reply-To: <CAH=g7+=gGYH94XdKLos-GS3A6m3n1TBYDCg12e-cRVEJgTf49g@mail.gmail.com>

On 5/28/2014 6:34 PM, Neal Lester wrote:
> When I attempt to render a table with more than about 3000 rows I get the
> following error.  Searching the archives I found one message suggesting
> that [save size] is hard coded and cannot be increased.
>
> The application is rendering business reports; they are relatively simple
> documents but we definitely need more than 3000 rows. Is there a way to
> configure context to render tables of this size?

at some point you will hit other limitations

you can jump the number by changing a line in the source code but as 
that is cumbersome I changed the beta a bit so that you can add this 
line in the texmfcnf.lua file in the directives section:

             ["luatex.savesize"] = "100000",

(i now report the relevant values at the end of a context --make run as 
some need to be saved with the format due to startup relationships)

I also set the value to 100K by default.

Hans

> Thanks,
>
> Neal Lester
>
> (C:/projects/context/tex/texmf-context/tex/context/base/cont-yes.mkiv
>
> ConTeXt  ver: 2014.01.03 00:40 MKIV current  fmt: 2014.5.28  int:
> english/english
>
> system          > 'cont-new.mkiv' loaded
> (C:/projects/context/tex/texmf-context/tex/context/base/cont-new.mkiv)
> system          > files > jobname
> 'temp-AF5678CF-250D-4CB8-8505-21D1DAA5FA47', input
> './temp-AF5678CF-250D-4CB8-8505-21D1DAA5FA47', result
> 'temp-AF5678CF-250D-4CB8-8505-21D1DAA5FA47'
> fonts           > latin modern fonts are not preloaded
> languages       > language 'en' is active
> (C:/projects/jinny/report_builder/temp-AF5678CF-250D-4CB8-8505-21D1DAA5FA47.tex{C:/projects/context/tex/texmf-context/fonts/map/pdftex/context/mkiv-base.map}
> fonts           > preloading latin modern fonts (second stage)
> fonts           > typescripts > unknown library 'loc'
> {C:/projects/context/tex/texmf/fonts/map/dvips/lm/lm-math.map}{C:/projects/context/tex/texmf/fonts/map/dvips/lm/lm-rm.map}
> fonts           > 'fallback modern rm 12pt' is loaded
> structure       > sectioning > part @ level 1 : 1 ->
> ! TeX capacity exceeded, sorry [save size=50000]
>
> system          > tex > error on line 5025 in file
> C:/projects/jinny/report_builder/temp-AF5678CF-250D-4CB8-8505-21D1DAA5FA47.tex:
> TeX capacity exceeded, sorry [ ...
>
> 5015     \bTR \bTD This is an arbitrary label\eTD
> \bTD[nc=1,align=flushright] 4,992\eTD \eTR
> 5016     \bTR \bTD This is an arbitrary label\eTD
> \bTD[nc=1,align=flushright] 4,993\eTD \eTR
> 5017     \bTR \bTD This is an arbitrary label\eTD
> \bTD[nc=1,align=flushright] 4,994\eTD \eTR
> 5018     \bTR \bTD This is an arbitrary label\eTD
> \bTD[nc=1,align=flushright] 4,995\eTD \eTR
> 5019     \bTR \bTD This is an arbitrary label\eTD
> \bTD[nc=1,align=flushright] 4,996\eTD \eTR
> 5020     \bTR \bTD This is an arbitrary label\eTD
> \bTD[nc=1,align=flushright] 4,997\eTD \eTR
> 5021     \bTR \bTD This is an arbitrary label\eTD
> \bTD[nc=1,align=flushright] 4,998\eTD \eTR
> 5022     \bTR \bTD This is an arbitrary label\eTD
> \bTD[nc=1,align=flushright] 4,999\eTD \eTR
> 5023     \bTR \bTD This is an arbitrary label\eTD
> \bTD[nc=1,align=flushright] 5,000\eTD \eTR
> 5024     \eTABLEbody
> 5025 >>  \eTABLE
> 5026     \stoptext
> 5027
>
> If you really absolutely need more capacity,
> you can ask a wizard to enlarge me.
>
> !  ==> Fatal error occurred, no output PDF file produced!
>
>
>
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
>
> maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
> archive  : http://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________
>


-- 

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


  reply	other threads:[~2014-05-30 16:11 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-28 16:34 Neal Lester
2014-05-30 16:11 ` Hans Hagen [this message]
2014-05-30 19:19   ` john Culleton
2014-06-02 18:32     ` Neal Lester
2014-06-02 23:06       ` Hans Hagen
2014-06-03 15:38         ` Neal Lester
2014-05-30 16:38 ` Wolfgang Schuster

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5388ADC2.2050009@wxs.nl \
    --to=pragma@wxs.nl \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).