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 20:12:58 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=49326

--- Comment #4 from Peter Reilly <peterreilly@apache.org> 2010-05-22 16:12:56 EDT ---
{{{shudder}}}
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.

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