Upgrade from LEPL 4.4.0 to 5.0.0 => out of memory

11 views
Skip to first unread message

Pedro Romano

unread,
May 22, 2012, 7:34:18 AM5/22/12
to le...@googlegroups.com
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.

andrew cooke

unread,
May 22, 2012, 8:08:19 AM5/22/12
to le...@googlegroups.com

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
> --
> 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 le...@googlegroups.com.
> To unsubscribe from this group, send email to lepl+uns...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/lepl?hl=en.
>
Reply all
Reply to author
Forward
0 new messages