ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Patrick Marion <patrick.mar...@certive.com>
Subject How can I control JVM heap size in <javacc>?
Date Tue, 21 Mar 2006 20:29:07 GMT
Hello,

The <javacc> task seems to spawn a new JVM:

   [javacc] Executing 'D:\CSDev\SharedLibs\jdk1.5.0_06\jre\bin\java.exe'
with arguments:
   [javacc] '-Dinstall.root=D:\CSDev\SharedLibs\javacc\4.0\bin\lib'
   [javacc] '-classpath'
   [javacc]
'D:\CSDev\SharedLibs\javacc\4.0\bin\lib\javacc.jar;D:\CSDev\SharedLibs\jdk1.
5.0_06\jre\lib\rt.jar;D:\CSDev\SharedLibs\jdk1.5.0_06\jre\lib\jce.jar;D:\CSD
ev\SharedLibs\jdk1.5.0_06\jre\lib\jsse.jar'
   [javacc] 'org.javacc.parser.Main'
   [javacc]
'-OUTPUT_DIRECTORY:\CSDev\main\Server\build\src\com\certive\cs\parsers\sql'
   [javacc] 'D:\CSDev\main\Server\com\certive\cs\parsers\sql\SQLParser.jj'
   [javacc] 

This instance runs out of memory.  ANT_OPTS doesn't seemed to apply here.
How can I control the jvm heap size from my build file?

Thanks.

Patrick


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message