file size growth on FileChannel.map

ArtemGr artemciy at gmail.com
Thu Jul 23 10:47:08 UTC 2009


ArtemGr wrote:
> When I use a FileChannel.map several times to map a large region into 
> memory, the file size suddenly increase.
> The mapped region is always withing the file, e.g. always less than 
> FileChannel.position!
Sorry, my bad!
Gave position instead of length for the third argument of "map"...


More information about the freebsd-java mailing list