ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 49326] OutOfMemoryError: Map failed
Date Sat, 22 May 2010 20:12:58 GMT

--- Comment #4 from Peter Reilly <> 2010-05-22 16:12:56 EDT ---
I do not think that we need to do the gc stuff.
The code worked (using BUF_SIZE) in ant 1.8 - except for gcj.
which had a problem with the last block.

The problem with using the full file size is that
we are basically asking the OS to map in memory that corresponds
to the file size and that
can be very taxing and one cannot expect Windows to
do that.

If we have to use gc, then we may as well stop using
NIO, and go back using Classic IO.


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

View raw message