[antlr-interest] Memory management of C target
marco at mtsystems.ch
Mon Jan 31 05:36:57 PST 2011
Does anyone know how the C target handles memory? I noticed that with
very big input (e.g. 530.000 lines of C code) it crashes because it hits
the 2gb process memory limit. Is there something I can tweak to make it
work or do I have to split the input?
The Java target manages to parse the input if I give the process 1gb. It
even requires only 20 seconds.
Would be great if the C target could also do that. Even better it the
required time would be about half of the one of the Java target (as I'm
used to when the C target can handle the input).
More information about the antlr-interest