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
l, so we do not need to impose any limit. 2) bus error in gij when requested copy size > remaining file size (this is a bug in gij that will not be triggered anymore by ant from this line) From: Murray, Mike Sent: Thursday, May 20, 2010 7:14 PM To: user@ant.apache.org Subject: 1.8.1 OutOf

1.8.1 OutOfMemoryError: Map failed

2010-05-20 Thread Murray, Mike
Some 1.8.1 change is causing copies of large files to fail when max heap is set to a "high" value. I got the error below with -Xmx800M. I lowered it to 750 and it worked. The file being copied is 840M. A file of 670M failed with -Xmx900M, but succeeded with 800. It runs for 2 seconds and fa