From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/78046 Path: news.gmane.org!not-for-mail From: =?iso-8859-2?B?UHJvY2jhemthIEx1a+G5?= Newsgroups: gmane.comp.tex.context Subject: Re: MP & TeX capacity exceeded Date: Sun, 02 Sep 2012 17:05:51 +0200 Message-ID: References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-2"; Format="flowed"; DelSp="yes" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1346598345 12933 80.91.229.3 (2 Sep 2012 15:05:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 2 Sep 2012 15:05:45 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Sun Sep 02 17:05:44 2012 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1T8Bk3-000848-QA for gctc-ntg-context-518@m.gmane.org; Sun, 02 Sep 2012 17:05:39 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 6670510201; Sun, 2 Sep 2012 17:05:36 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id DLjiTnR9jWFc; Sun, 2 Sep 2012 17:05:33 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 9D19C101EF; Sun, 2 Sep 2012 17:05:33 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 9BD41101EF for ; Sun, 2 Sep 2012 17:05:31 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id vKTFGr3hob-e for ; Sun, 2 Sep 2012 17:05:30 +0200 (CEST) Original-Received: from filter5-til.mf.surf.net (filter5-til.mf.surf.net [194.171.167.221]) by balder.ntg.nl (Postfix) with ESMTP id BF8AF101DF for ; Sun, 2 Sep 2012 17:05:30 +0200 (CEST) Original-Received: from mail.pontex.cz (mail.pontex.cz [89.233.168.98]) by filter5-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q82F4N8m013458 for ; Sun, 2 Sep 2012 17:04:25 +0200 Original-Received: from lk-2008-nbk ([88.100.123.157]) (authenticated user lpr@pontex.cz) by mail.pontex.cz (Kerio MailServer 6.6.2) for ntg-context@ntg.nl; Sun, 2 Sep 2012 17:05:23 +0200 In-Reply-To: User-Agent: Opera Mail/12.01 (Win32) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=89.233.168.98; country=CZ; region=52; city=Prague; latitude=50.0833; longitude=14.4667; http://maps.google.com/maps?q=50.0833,14.4667&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0WHSf4nhA - 4c268da1a737 - 20120902 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.221 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:78046 Archived-At: On Sat, 01 Sep 2012 21:47:21 +0200, Mojca Miklavec wrote: > On Sat, Sep 1, 2012 at 6:28 PM, Proch=E1zka Luk=E1=B9 wrote: >> Hello, >> >> suppose having the following sample code: >> >> ---- >> \starttext >> \startluacode >> context.startMPcode() >> for i =3D 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 1000000, 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; faile= d on 32b with 1 GB RAM). Best regards, Lukas ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________