Received: by 10.50.77.194 with SMTP id u2mr8036307igw.1.1337688503196; Tue, 22 May 2012 05:08:23 -0700 (PDT) X-BeenThere: lepl@googlegroups.com Received: by 10.231.1.78 with SMTP id 14ls5457888ibe.2.gmail; Tue, 22 May 2012 05:08:22 -0700 (PDT) Received: by 10.42.138.197 with SMTP id d5mr878737icu.8.1337688502643; Tue, 22 May 2012 05:08:22 -0700 (PDT) Received: by 10.42.138.197 with SMTP id d5mr878736icu.8.1337688502627; Tue, 22 May 2012 05:08:22 -0700 (PDT) Return-Path: Received: from smtp.webfaction.com (mail6.webfaction.com. [74.55.86.74]) by gmr-mx.google.com with ESMTP id cv4si4234804igc.0.2012.05.22.05.08.22; Tue, 22 May 2012 05:08:22 -0700 (PDT) Received-SPF: neutral (google.com: 74.55.86.74 is neither permitted nor denied by best guess record for domain of and...@acooke.org) client-ip=74.55.86.74; Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 74.55.86.74 is neither permitted nor denied by best guess record for domain of and...@acooke.org) smtp.mail=and...@acooke.org Received: from acooke.org (190-21-186-231.baf.movistar.cl [190.21.186.231]) by smtp.webfaction.com (Postfix) with ESMTP id 05E7B20FE589 for ; Tue, 22 May 2012 07:08:21 -0500 (CDT) Received: by acooke.org (Postfix, from userid 1000) id E935E6057C; Tue, 22 May 2012 08:08:19 -0400 (CLT) Date: Tue, 22 May 2012 08:08:19 -0400 From: andrew cooke To: lepl@googlegroups.com Subject: Re: [LEPL] Upgrade from LEPL 4.4.0 to 5.0.0 => out of memory Message-ID: <20120522120819.GA31378@acooke.org> References: <34d1c3f1-8f4e-4521-a835-4ce3e7d058f6@googlegroups.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <34d1c3f1-8f4e-4521-a835-4ce3e7d058f6@googlegroups.com> User-Agent: Mutt/1.5.21 (2010-09-15) I knew there were problems with memory, but not that this was new in 5. Have you tried disabling memoisation? It could be that before 5 it was so broken it didn't work. Use config.no_memoize(). Otherwise, an example of something (as simple as possible) that shows a big difference between 4 and 5would help me track down the issue. Andrew On Tue, May 22, 2012 at 04:34:18AM -0700, Pedro Romano wrote: > Hi! I've been using LEPL for my more complex needs for quite a while now > and I love it! So, first of all, a big thank you to Andrew and other > contributors, for the excellent and invaluable project that is LEPL. > > My grammar has problem (probably some left-recursion issue somewere). With > LEPL 4.4.0 the problem didn't manifest itself, however since LEPL 5.0.0 for > some pathological input and grammar rule, the memory allocation just runs > wild and soon the interpreter runs out of memory. > > Is there any obvious thing I should be looking for that would be explained > by the internal changes that happened between 4.4.0 and 5.0.0, that would > help me to track down the culprit rule? > > Thanks in advance for any help regarding this issue! > > --Pedro. > > -- > You received this message because you are subscribed to the Google Groups "lepl" group. > To view this discussion on the web visit https://groups.google.com/d/msg/lepl/-/-oJ394jvS14J. > To post to this group, send email to lepl@googlegroups.com. > To unsubscribe from this group, send email to lepl+unsubscribe@googlegroups.com. > For more options, visit this group at http://groups.google.com/group/lepl?hl=en. >