> Have you guys tried to use asModule? > https://github.com/PhilippeSigaud/Pegged/wiki/Grammars-as-D-Modules >
Thanks for the idea. I just gave it a try and the memory came down by about 50%. Additionally the compilation became much faster. But that might still not be enough :-( I will try to simplify my grammar rules for now. Regards - Puneet