Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 58046 invoked from network); 22 Jan 2004 20:29:20 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 22 Jan 2004 20:29:20 -0000 Received: (qmail 39132 invoked by uid 500); 22 Jan 2004 20:29:03 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 39103 invoked by uid 500); 22 Jan 2004 20:29:03 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 39089 invoked from network); 22 Jan 2004 20:29:03 -0000 Received: from unknown (HELO mailao.westgroup.com) (167.68.1.71) by daedalus.apache.org with SMTP; 22 Jan 2004 20:29:03 -0000 Received: from morton.int.westgroup.com (localhost.localdomain [127.0.0.1]) by mailao.westgroup.com (8.12.10/8.12.10) with ESMTP id i0MKT50q010670 for ; Thu, 22 Jan 2004 14:29:05 -0600 Received: from eg-msgimc-b10.int.westgroup.com (eg-msgimc-b10.int.westgroup.com [163.231.96.24]) by morton.int.westgroup.com (8.12.10/8.12.10) with ESMTP id i0MKT40s010664 for ; Thu, 22 Jan 2004 14:29:04 -0600 Received: by eg-msgimc-b10.int.westgroup.com with Internet Mail Service (5.5.2657.72) id ; Thu, 22 Jan 2004 14:29:04 -0600 Message-ID: <73EBE0A5AC2ED51196090003473A814E05B05B1F@eg-msgmbx-b08.int.westgroup.com> From: "Anderson, Kajsa" To: "'Ant Users List'" Subject: RE: forked javac task runs out of memory Date: Thu, 22 Jan 2004 14:29:00 -0600 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N I use ... >From the manual: "The maximum size of the memory for the underlying VM, if javac is run externally; ignored otherwise. Defaults to the standard VM memory setting." I think you read this backwards - it says it's ignored if javac is _not_ running externally. If you think about it, this makes sense - if it's running interally (in the same JVM as ant), the max memory size has already been set. Perhaps there is a way to word the documentation to be more clear... Kajsa Anderson -----Original Message----- From: Eric Wood [mailto:ewood@llbean.com] Sent: Thursday, January 22, 2004 2:22 PM To: user@ant.apache.org Subject: forked javac task runs out of memory I am running a javac task against a 1.2.2 compiler, but it is running out of memory. The javac task documentation says that there is a attribute for setting the Max memory size (memoryMaximumSize), but it says that it is ignored if you are running javac externally. How do I set increase the memory allocation for the forked JVM? my task implementation is: Eric Wood ewood@llbean.com 207.552.2306 --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org