PLEASE DO NOT REPLY TO THIS MESSAGE. TO FURTHER COMMENT ON THE STATUS OF THIS BUG PLEASE FOLLOW THE LINK BELOW AND USE THE ON-LINE APPLICATION. REPLYING TO THIS MESSAGE DOES NOT UPDATE THE DATABASE, AND SO YOUR COMMENT WILL BE LOST SOMEWHERE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3555 *** shadow/3555 Tue Sep 11 15:28:36 2001 --- shadow/3555.tmp.4716 Tue Sep 11 15:28:36 2001 *************** *** 0 **** --- 1,43 ---- + +============================================================================+ + | Both memoryMaximumSize and memoryInitialSize cause the compile to fail wit | + +----------------------------------------------------------------------------+ + | Bug #: 3555 Product: Ant | + | Status: NEW Version: 1.4 | + | Resolution: Platform: PC | + | Severity: Blocker OS/Version: Other | + | Priority: Other Component: Core tasks | + +----------------------------------------------------------------------------+ + | Assigned To: [EMAIL PROTECTED] | + | Reported By: [EMAIL PROTECTED] | + | CC list: Cc: | + +----------------------------------------------------------------------------+ + | URL: | + +============================================================================+ + | DESCRIPTION | + Both memoryMaximumSize and memoryInitialSize fail with "Invalid option or + argument". + I tried it on NT 4 after it failed on Mandrake Linux 8.0. It failed on both, and + the exact same error message was produced. + Snipped from the output: + compile: + [javac] Compiling 12 source files + [javac] -J-Xmx96m is an invalid option or argument. + [javac] Usage: javac <options> <source files> + + Removing these options causes an overflow of the heap and the compile cannot + continue. It is a large project (1600+ classes will be generated). The compiler + is JDK 1.2.2, and both machines have 256MB memory with 512M virtual memory. + + Linux: Mandrake 8.0, kernel 2.4.3-20, 256MB memory(physical), 512MB + memory(virtual), Intel Pentium III 550mHz, JDK 1.2.2_008, green threads, nojit + + Win NT: NT 4.00.1381, Service Pack 5, 256MB memory(physical), 512MB + memory(virtual), Intel Pentium III 450mHz, JDK 1.2.2_008, native threads, + symcjit + + Both machines can use the exact same command to compile the project fine from + the command line, and this command was what I based my build.xml on. If I + compile a subdirectory that contains a few classes, it works fine, but I cannot + compile the entire project in one command which is the goal. Email me at + [EMAIL PROTECTED] if any more information is needed, or if there is already a + solution.
