Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 66070 invoked from network); 29 Nov 2005 16:41:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 29 Nov 2005 16:41:21 -0000 Received: (qmail 18709 invoked by uid 500); 29 Nov 2005 16:41:00 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 18251 invoked by uid 500); 29 Nov 2005 16:40:57 -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 17598 invoked by uid 99); 29 Nov 2005 16:40:54 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Nov 2005 08:40:53 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of ddevienne@gmail.com designates 64.233.184.204 as permitted sender) Received: from [64.233.184.204] (HELO wproxy.gmail.com) (64.233.184.204) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Nov 2005 08:41:48 -0800 Received: by wproxy.gmail.com with SMTP id i12so20290wra for ; Tue, 29 Nov 2005 08:39:57 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=HMbm4B9UuK2fXZKaDPrhzqNr1T6R3IcZNopLesVouYIr8I24sZvPe9n46fVJn3vmhu05BxjMbOj4HAVUvdRkMfdcN+1VwBeVnv5LbMtchxnOT+ixMHhqwmfSVT/+nppXWYHEUxYB7BAPZ7K0ggI9Iqf7aecTYL+MngEMrjdlFjo= Received: by 10.54.149.7 with SMTP id w7mr2039wrd; Tue, 29 Nov 2005 08:39:56 -0800 (PST) Received: by 10.54.119.3 with HTTP; Tue, 29 Nov 2005 08:39:56 -0800 (PST) Message-ID: <255d8d690511290839g11dab9aev322248e6d764f993@mail.gmail.com> Date: Tue, 29 Nov 2005 10:39:56 -0600 From: Dominique Devienne To: Ant Users List Subject: Re: Max memory usage of org.apache.tools.ant.Task extends class In-Reply-To: <20051129162606.40190.qmail@web15702.mail.cnb.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <20051129162606.40190.qmail@web15702.mail.cnb.yahoo.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N > is it possible to configure the max memory usage of > org.apache.tools.ant.Task extends class? > > Here is my current build script. It will out of memory when the task is > memory cosuming. No. Only one a forked JVM can you do that. You can OTOH set a higher maxmemory for the Ant JVM inside which your task runs. It's in the faq I'm sure, and I think the option is called -Xmx. Google it ;-) --DD --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org