Memory-Mapped Files mit Java
Das wuÃte ich auch noch nicht:
A region of a file may beWeiterlesen in den JDK API Docs FileChannel#map(...) und im Java Almanac e166. Und aufpassen:mappeddirectly into memory; for large files this is often much more efficient than invoking the usual read or write methods.
A mapping, once established, is not dependent upon the file channel that was used to create it. Closing the channel, in particular, has no effect upon the validity of the mapping.Das ist dann wieder so ein Ding, an dem man sich totsucht, wenn man fremden Codeübernimmt, oder? ;-)