ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 49326] OutOfMemoryError: Map failed
Date Sat, 22 May 2010 19:57:29 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=49326

--- Comment #2 from Peter Reilly <peterreilly@apache.org> 2010-05-22 15:57:26 EDT ---
I think that we should be conservative here, and do something
like:

 srcChannel.transferTo(position,
   Math.min(FileUtils.BUF_SIZE, count - position),
   destChannel);

Peter

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Mime
View raw message