Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 67575 invoked from network); 7 Dec 2006 18:02:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 Dec 2006 18:02:29 -0000 Received: (qmail 97001 invoked by uid 500); 7 Dec 2006 18:02:32 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 96968 invoked by uid 500); 7 Dec 2006 18:02:32 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 96957 invoked by uid 99); 7 Dec 2006 18:02:32 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Dec 2006 10:02:32 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [199.184.237.157] (HELO e1.fs.apu.edu) (199.184.237.157) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Dec 2006 10:02:21 -0800 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: OutofMemoryError during compile target Date: Thu, 7 Dec 2006 10:02:00 -0800 Message-ID: <1AC9A4C33D1F5F4FB9DE2367CF40C09902DAC940@e1.fs.apu.edu> In-Reply-To: <20061207180004.99840@gmx.net> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: OutofMemoryError during compile target Thread-Index: AccaKZtTmLGIoayUS6u7HLWMXzuBsgAAApmQ From: "Kenneth Litwak" To: "Ant Users List" X-Virus-Checked: Checked by ClamAV on apache.org Thomas, I'm not very good at this ant script stuff. Can you give a snippet of = what this looks like? Thanks. Ken -----Original Message----- From: Thomas Voigt [mailto:tv_spambox@gmx.de]=20 Sent: Thursday, December 07, 2006 10:00 AM To: Ant Users List Subject: Re: OutofMemoryError during compile target -------- Original-Nachricht -------- Datum: Thu, 7 Dec 2006 08:58:35 -0800 Von: "Kenneth Litwak" An: user@ant.apache.org Betreff: OutofMemoryError during compile target > Does anyone have a suggestion for what I might try to figure out how > to resolve or figure out this sudden, new problem on a process that = has > been working fine? We had out of memory errors on and off when we used rather complicated = ant scripts. Increasing the memory allocated to ant didn't help. = However, after reducing the number of targets and antcalls in our = scripts everything worked fine.=20 > Also, if I wanted to try to specify more memory during the compile, > though I'm doubtful it will, help, how would I specify that for ant? I > know how to do it for a straightforward compile with javac. Thanks. Try to add memory in the JAVA_OPTS and ANT_OPTS. We currently use = -Xmx512M -Xms16M -XX:MaxPermSize=3D256m (which may be pretty generous, = but it seems to work). Regards, Thomas --=20 "Ein Herz f=FCr Kinder" - Ihre Spende hilft! Aktion: = www.deutschlandsegelt.de Unser Dankesch=F6n: Ihr Name auf dem Segel der 1. deutschen America's = Cup-Yacht! --------------------------------------------------------------------- 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