Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@jakarta.apache.org Received: (qmail 79290 invoked by uid 500); 19 Apr 2001 08:09:27 -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 Received: (qmail 79276 invoked from network); 19 Apr 2001 08:09:24 -0000 Message-ID: <3ADE9DCC.A66BD44B@tryllian.com> Date: Thu, 19 Apr 2001 10:11:56 +0200 From: Ronald Wildenberg X-Mailer: Mozilla 4.75 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: ant-user@jakarta.apache.org Subject: Fork and OutOfMemoryException? Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N Hi, I have a Java task which forks a Java program such that a different VM is used. However, ant is able to mix its own output (i.e.: [java]) with the output from the program. Is it possible that a program returns that much logging output that the VM in which ant runs, gives an OutOfMemoryException? The reason I ask is that, using ant to run my program, I get an OutOfMemoryException. However, regularly printing memory information inside my programs reveals no problems at all. I give the VM 160MB and 140MB is still free when the exception occurs. Besides, I follow the program via the generated log file and via a database. The log file is far behind on the database, leading me to think that some output buffer fills up inside the ant VM. Could this be the cause for the exception? Thanks, Ronald.