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 via email to