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"...