Return-Path: Delivered-To: apmail-ant-notifications-archive@minotaur.apache.org Received: (qmail 12947 invoked from network); 1 Mar 2010 17:01:01 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 1 Mar 2010 17:01:01 -0000 Received: (qmail 28943 invoked by uid 500); 1 Mar 2010 17:01:00 -0000 Delivered-To: apmail-ant-notifications-archive@ant.apache.org Received: (qmail 28863 invoked by uid 500); 1 Mar 2010 17:01:00 -0000 Mailing-List: contact notifications-help@ant.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ant.apache.org Delivered-To: mailing list notifications@ant.apache.org Received: (qmail 28852 invoked by uid 99); 1 Mar 2010 17:01:00 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Mar 2010 17:01:00 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Mar 2010 17:00:58 +0000 Received: by brutus.apache.org (Postfix, from userid 33) id A8567234C495; Mon, 1 Mar 2010 17:00:35 +0000 (UTC) From: bugzilla@apache.org To: notifications@ant.apache.org Subject: DO NOT REPLY [Bug 45536] JUnit PlainJUnitResultFormatter goes OOM at the end of a run X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ant X-Bugzilla-Component: Optional Tasks X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: stevel@apache.org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: notifications@ant.apache.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: In-Reply-To: References: X-Bugzilla-URL: https://issues.apache.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Message-Id: <20100301170035.A8567234C495@brutus.apache.org> Date: Mon, 1 Mar 2010 17:00:35 +0000 (UTC) X-Virus-Checked: Checked by ClamAV on apache.org https://issues.apache.org/bugzilla/show_bug.cgi?id=45536 --- Comment #1 from Steve Loughran 2010-03-01 17:00:34 UTC --- Created an attachment (id=25075) --> (https://issues.apache.org/bugzilla/attachment.cgi?id=25075) patch for the JUnitTestRunner and PlainJUnitResultFormatter Patch handles OOM gracefully in the test runner by intercepting that part of the process and replacing it with a string warning of memory problems. At the output formatter avoids building everything up into one large string to output, instead every stream is put out separately and the buffers flushed, this makes it much more robust. No tests, not unless you want to create 40MB worth of log4j output. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.