RE: javac out of memory error

2003-02-27 Thread Dominique Devienne
See the maxmemory attribute of . Note that you must set fork="true" as well, which is often a good idea anyway, especially for big compiles with pre-1.4.1 JDK (Javac leaks memory quite a bit, and forking forces to release of it after the compile). --DD -Original Message- From: Dave Barkan

RE: javac out of memory error

2003-02-27 Thread Urbano, Daniel
Pass in -Xmx###MB where ### is the number of mega-bytes the Java VM will use. ...or if you're using the ant task javac: ...for 128 MB. D -Original Message- From: Dave Barkan [mailto:[EMAIL PROTECTED] Sent: Thursday, February 27, 2003 11:44 AM To: [EMAIL PROTECTED] Subject: javac out

Re: javac out of memory error

2003-02-27 Thread Jesse Stockall
On Thursday, February 27, 2003, at 11:43 AM, Dave Barkan wrote: Hi, I'm running ant 1.5 on Linux. I'm compiling a large number of java source files (1200 or so at once) with the task. I get this error: export ANT_OPTS=-Xmx256 Jesse Stockall - [EMAIL PROTECTED] CRYPTOCard Corp. --