ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 45536] JUnit PlainJUnitResultFormatter goes OOM at the end of a run
Date Mon, 01 Mar 2010 17:00:35 GMT

--- Comment #1 from Steve Loughran <> 2010-03-01 17:00:34 UTC ---
Created an attachment (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:
------- You are receiving this mail because: -------
You are the assignee for the bug.

View raw message