Thanks Mark, The issue is the following command seems to be incorrect:
java -cp "D:\Jay_CC\P4\user\brettp\SQLStandardsChecker\Ecollege\CodeStandards\ext \ANTLR\lib\antlr-3.3-complete.jar" -Xms32M -Xmx512M org.antlr.Tool -message-format vs2005 -Xconversiontimeout 30000 "D:\Jay_CC\P4\user\brettp\SQLStandardsChecker\Ecollege\CodeStandards\Par ser\tsqllexer.g" "D:\Jay_CC\P4\user\brettp\SQLStandardsChecker\Ecollege\CodeStandards\Par ser\tsql.g" "D:\Jay_CC\P4\user\brettp\SQLStandardsChecker\Ecollege\CodeStandards\Par ser\tsqlwalker.g" The timeout is set to 30000 here. But how to increase the max heap size in this command? Regards, Jayani. -----Original Message----- From: Mark Wright [mailto:[email protected]] Sent: Wednesday, June 01, 2011 5:18 PM To: Jayani Withanawasam; [email protected] Subject: Re: [antlr-interest] Memory issue with ANTLR Hi Jayani, For the timeout issue you need to read the ANTLR documentation to find out the command line parameter to the antlr tool to increase the timeout, the default is too short for complex grammars. Thanks, Mark List: http://www.antlr.org/mailman/listinfo/antlr-interest Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-email-address -- You received this message because you are subscribed to the Google Groups "il-antlr-interest" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/il-antlr-interest?hl=en.
