Changes between Version 5 and Version 6 of Doc/compiler/running
- Timestamp:
- Mar 7, 2007, 2:58:27 PM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Doc/compiler/running
v5 v6 47 47 The performance of the compiler can degrade markedly if there is not sufficient memory to do a particular compile and build. The mechanism for increasing the available memory differs depending on how the compiler in invoked. 48 48 49 == Direct Invocation via Java==49 === Direct Invocation via Java === 50 50 51 51 If the java compiler class is being directly invoked via the {{{java}}} command, then the option "-Xmx" must be added. For example to start java with 1024 MB, the following command and options can be used: … … 55 55 For the panc command, currently the panc script must be edited to add this option. 56 56 57 == Direct Invocation via Ant==57 === Direct Invocation via Ant === 58 58 59 59 If the compiler is invoked via the panc ant task, then the memory option can be added with the ANT_OPTS environmental variable. … … 67 67 depending on whether you use an "sh"- or "csh"-type shell. 68 68 69 == Invocation via Eclipse==69 === Invocation via Eclipse === 70 70 71 71 If you use the default VM to run the panc ant task, then you will need to increase the memory when starting eclipse. From the command line you can add the VM arguments like: