Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Jul 2009 14:47:04 +0400
From:      ArtemGr <artemciy@gmail.com>
To:        freebsd-java@freebsd.org
Subject:   Re: file size growth on FileChannel.map
Message-ID:  <4A683FA8.2080902@gmail.com>
In-Reply-To: <4A683C8F.3030608@gmail.com>
References:  <4A683C8F.3030608@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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"...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4A683FA8.2080902>