<div class="gmail_quote"><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div id=":13i">Have you guys tried to use asModule?<br>
<a href="https://github.com/PhilippeSigaud/Pegged/wiki/Grammars-as-D-Modules" target="_blank">https://github.com/PhilippeSigaud/Pegged/wiki/Grammars-as-D-Modules</a></div></blockquote></div><br><div>Thanks for the idea. I just gave it a try and the memory came down by about 50%. Additionally the compilation became much faster.</div>

<div><br></div><div>But that might still not be enough :-( I will try to simplify my grammar rules for now.</div><div><br></div><div>Regards</div><div>- Puneet</div><div><br></div>