Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@jakarta.apache.org Received: (qmail 44771 invoked by uid 500); 6 Jul 2001 13:54:49 -0000 Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Reply-To: ant-user@jakarta.apache.org Delivered-To: mailing list ant-user@jakarta.apache.org Delivered-To: moderator for ant-user@jakarta.apache.org Received: (qmail 46416 invoked from network); 6 Jul 2001 12:40:31 -0000 Date: Fri, 6 Jul 2001 08:40:25 -0400 From: Peter Davison To: ant-user@jakarta.apache.org Subject: Re: java compilation out of memory problem Message-Id: <20010706084025.7990c05a.peterdavison@home.com> In-Reply-To: <20010706072324988-2b458f0a@alltel.com> References: <20010706072324988-2b458f0a@alltel.com> Organization: @home X-Mailer: Sylpheed version 0.5.0 (GTK+ 1.2.9; i586-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N Use "jikes" instead. You can find it here: http://oss.software.ibm.com/developerworks/opensource/jikes/ You will need to set a property in your build.xml file: P. Thus spake "Ming-Fang Wang" on Fri, 06 Jul 2001 7:26 -0500: MW> MW> MW> Hi, MW> MW> I run javac task on Ant to compile about 1250 java files. It starts MW> fine, but after compiling several java programs ( about 20 of them) I MW> got a run-out-of-memory error. The message also suggests using a MW> switch -J-mx. I cannot find any document mentioning such a MW> switch. Has any one encountered such a situation and got a solution to MW> this problem? MW> MW> Thanks. MW> MW> -Ming