Re: 1.8.1 OutOfMemoryError: Map failed

2010-05-21 Thread Stefan Bodewig
On 2010-05-21, Murray, Mike wrote: > Reverting revision 922179 of ResourceUtils.java resolves the 1.8.1 > regression. It looks as if the FileChannel implementation in your Java classlib was using very big buffers internally, so anything we do could only be working around problems inside the JVM.

RE: 1.8.1 OutOfMemoryError: Map failed

2010-05-20 Thread Murray, Mike
Reverting revision 922179 of ResourceUtils.java resolves the 1.8.1 regression. http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/an t/util/ResourceUtils.java?r1=908356&r2=922179&diff_format=h problem 48894 1) buffer size management is present in FileChannel, so we do