Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 34293 invoked from network); 25 May 2004 22:36:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 25 May 2004 22:36:01 -0000 Received: (qmail 19752 invoked by uid 500); 25 May 2004 22:36:10 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 19332 invoked by uid 500); 25 May 2004 22:36:06 -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 18815 invoked by uid 98); 25 May 2004 22:36:02 -0000 Received: from iyer@rcn.com by hermes.apache.org by uid 82 with qmail-scanner-1.20 (clamuko: 0.70. Clear:RC:0(207.172.4.61):. Processed in 0.065467 secs); 25 May 2004 22:36:02 -0000 X-Qmail-Scanner-Mail-From: iyer@rcn.com via hermes.apache.org X-Qmail-Scanner: 1.20 (Clear:RC:0(207.172.4.61):. Processed in 0.065467 secs) Received: from unknown (HELO smtp02.mrf.mail.rcn.net) (207.172.4.61) by hermes.apache.org with SMTP; 25 May 2004 22:36:01 -0000 Received: from 65-78-6-14.c3-0.ned-ubr2.sbo-ned.ma.cable.rcn.com ([65.78.6.14] helo=GRACE) by smtp02.mrf.mail.rcn.net with esmtp (Exim 3.35 #7) id 1BSkVy-0000Fl-00 for user@ant.apache.org; Tue, 25 May 2004 18:35:18 -0400 From: "Mani G. Iyer" To: "'Ant Users List'" Subject: RE: Out of memory with javac Date: Tue, 25 May 2004 18:35:07 -0400 Message-ID: <002b01c442a8$8c3aa8d0$6401a8c0@u14917.ecpm.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.3416 In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal X-Spam-Rating: hermes.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Darin: Can you isolate a particular java program that causes this out of memory exception? Are there a lot of files to troubleshoot? Mani -----Original Message----- From: Darin Swanson [mailto:Darin_Swanson@us.ibm.com] Sent: Tuesday, May 25, 2004 4:09 PM To: Ant Users List Subject: RE: Out of memory with javac It works fine on 1.4.1_07 I have only a certain set of VMs that I can get my hands on due to restrictions imposed by my employer :-) so I cannot get 1.4.1_02 or 1.4.1_03 I was testing on 1.4.2_03. and 1.4.2_04; both fail. Darins "Peter Bulford" 05/25/2004 12:37 PM Please respond to "Ant Users List" To: "Ant Users List" cc: Subject: RE: Out of memory with javac Hi Darin. I don't have your answer however I'm curious if your problem works fine on 1.4.1_02 and does not work on 1.4.1_03. Pete Bulford -----Original Message----- From: Darin Swanson [mailto:Darin_Swanson@us.ibm.com] Sent: Tuesday, May 25, 2004 3:10 PM To: Ant Users List Subject: RE: Out of memory with javac Thanks NetaB...but I don't think you helped me at all :-) I have fork set to be true so memorymaximumsize and memoryinitialsize should not be ignored. The main thrust of my question is why the difference running on the two implementations of javac? Works fine on 1.3.1, 1.4.1. Does not work on 1.4.2? I could not find a bug in Sun's bug parade either for this problem with javac. TIA Darins "Neta Bar Tal" 05/24/2004 09:21 PM Please respond to "Ant Users List" To: "Ant Users List" cc: Subject: RE: Out of memory with javac Hi Darin, Did you try to run ant with ANT_OPTS set to something like: -Xms1024m -Xmx1024m When you pass the flags memorymaximumsize and memoryinitialsize it is only used when you set the compiler to run on new JVM and Is deprecated when you use your default javac. netaB -----Original Message----- From: Darin Swanson [mailto:Darin_Swanson@us.ibm.com] Sent: Tuesday: May 25: 2004 3:43 AM To: Ant Users List Subject: Out of memory with javac Ant 1.6.1 Running the same buildfile I am seeing different results for using javac depending on the javac executable I am using. Using a 1.4.2 JDK install, I always run out of memory when the task is forked and I set memory attributes....and it is not that big of a build. [javac] The system is out of resources. [javac] Consult the following stack trace for details. [javac] java.lang.OutOfMemoryError Using a 1.3.1 JDK install, exact same buildfile, no out of memory. It is almost like the -J options passed to the 1.4.2 javac.exe are ignored? Is this a known issue? I searched bugzilla but found nothing new enough to be relevant Is this just dumb user error :-) ? TIA Darins The information contained in this message is proprietary of Amdocs, protected from disclosure, and may be privileged. The information is intended to be conveyed only to the designated recipient(s) of the message. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, use, distribution or copying of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. Thank you. --------------------------------------------------------------------- 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 --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org