[antlr-interest] ANTLR v3.3 infinite loop

Terence Parr parrt at cs.usfca.edu
Wed Dec 1 16:00:06 PST 2010


make that -Xwatchconversion
Ter
On Dec 1, 2010, at 8:02 AM, Terence Parr wrote:

> hi. please turn on -Xwatchdfaconversion and see which decision kills it. this is rare but not impossible.  Then, add backtrack=true and k=1 options to that decision to resolve.  or restructure that decision.
> 
> Please report back on success.
> 
> Ter
> 
> On Dec 1, 2010, at 5:16 AM, Rene Vestergaard wrote:
> 
>> Fellow ANTLRs,
>> 
>> My biggest .g file (~850 lines) appears to send 3.3 into an infinite 
>> loop (>10mins) that keeps allocating heap space (>3GBs).
>> 
>> On 3.2, the same task takes a few seconds and around 100MB.
>> 
>> Any advice on how to pinpoint the problem?
>> 
>> Cheers,
>> Rene
>> 
>> List: http://www.antlr.org/mailman/listinfo/antlr-interest
>> Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-email-address
> 
> 
> List: http://www.antlr.org/mailman/listinfo/antlr-interest
> Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-email-address



More information about the antlr-interest mailing list