Re: [NTG-context] MP TeX capacity exceeded
On Sat, 01 Sep 2012 21:47:21 +0200, Mojca Miklavec mojca.miklavec.li...@gmail.com wrote: On Sat, Sep 1, 2012 at 6:28 PM, Procházka Lukáš wrote: Hello, suppose having the following sample code: \starttext \startluacode context.startMPcode() for i = 1, -- 1000 -- OK 1e6 do context(draw (0,0) -- (5cm,5cm);) end context.stopMPcode() \stopluacode \stoptext I'm getting TeX capacity exceeded error. Where is that Like button? ;) Mojca PS: Weird enough, the code works for me on 64-bit LuaTeX under Mac OS X (if I enter 100, I didn't try if 1e6 works already and I don't have enough physical memory to try with 10^7). It surely exhausts all the available memory (it goes beyond 1.5 GB), but it finishes the job without errors. It's probably a different problem at your end, but I nevertheless ask - do you have enough free memory (RAM)? OK, thanks for testing. Works well for me, too, on another computer with more RAM (3 GB, 32b; failed on 32b with 1 GB RAM). Best regards, Lukas ___ 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 ___
[NTG-context] MP TeX capacity exceeded
Hello, suppose having the following sample code: \starttext \startluacode context.startMPcode() for i = 1, -- 1000 -- OK 1e6 do context(draw (0,0) -- (5cm,5cm);) end context.stopMPcode() \stopluacode \stoptext I'm getting TeX capacity exceeded error. So the question is - which parameter in which file to extend it? I found texmf.cnf and texmfcnf.lua, with many variables having size in its name; which is the proper one? Best regards, Lukas t-MP.log Description: Binary data ___ 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 ___
Re: [NTG-context] MP TeX capacity exceeded
On Sat, Sep 1, 2012 at 6:28 PM, Procházka Lukáš wrote: Hello, suppose having the following sample code: \starttext \startluacode context.startMPcode() for i = 1, -- 1000 -- OK 1e6 do context(draw (0,0) -- (5cm,5cm);) end context.stopMPcode() \stopluacode \stoptext I'm getting TeX capacity exceeded error. Where is that Like button? ;) Mojca PS: Weird enough, the code works for me on 64-bit LuaTeX under Mac OS X (if I enter 100, I didn't try if 1e6 works already and I don't have enough physical memory to try with 10^7). It surely exhausts all the available memory (it goes beyond 1.5 GB), but it finishes the job without errors. It's probably a different problem at your end, but I nevertheless ask - do you have enough free memory (RAM)? ___ 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 ___