ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 45439] Memory growth during copy with use of FilterReader
Date Tue, 01 Sep 2009 14:56:31 GMT

Stefan Bodewig <> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |1.8.0

--- Comment #1 from Stefan Bodewig <> 2009-09-01 07:56:29 PDT ---
I think svn revision 810080 fixes the memory leak in a clean way - except when
something prior to returning the reader in ChainReaderHelper throws an
exception, that is.

If you <typedef> or <componentdef> your filterreader and don't use the
<filterreader classname="..."> syntax only a single instance will be used to
copy all files, which should avoid the problem in 1.7.x altogether.

Regarding your hack: it would be safer to perform your action in an overridden
close method (which basically is what my patch does at the chain level).

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

View raw message