About 166,000 results
Open links in new tab
  1. How to Create and Manipulate a Memory-Mapped File in Java?

    Feb 27, 2024 · The Memory-mapped files in Java offer a powerful mechanism to map a region of a file directly into the memory providing efficient access to file data. This method enhances the …

  2. MappedByteBuffer (Java Platform SE 8 ) - Oracle

    A direct byte buffer whose content is a memory-mapped region of a file. Mapped byte buffers are created via the FileChannel.map method. This class extends the ByteBuffer class with …

  3. Memory-mapped files in Java - Stack Overflow

    A memory mapped block of memory has to be outside the heap. It would be nice if the distinction were transparent, but I prefer to use the getLong/putLong method of a ByteBuffer anyway …

  4. Please use the format described by the examples below when asked to draw memory maps / diagrams. Each example below covers typical diagrams we will ask you to draw.

  5. FileChannel, Memory-Mapped I/O, Locks (Java Files Tutorial)

    Nov 29, 2024 · You can map sections of a file to memory (" memory-mapped file "), which allows very efficient data access. You can set locks on file sections so that other threads and …

    • Reviews: 24
    • Java Memory Mapped File: An In-Depth Guide - javaspring.net

      Nov 12, 2025 · Memory-mapped files provide a mechanism to map a file directly into the virtual memory space of a Java process. This allows the program to access the file's contents as if …

    • Boost Java performance with memory-mapped files | Transloadit

      Feb 23, 2025 · A concise guide to using Java's memory-mapped file I/O for ultra-fast file processing.

    • What is memory-mapped file in Java? - Online Tutorials Library

      Feb 28, 2025 · Memory mapping is a technique in Java that gives direct access to files through memory (RAM). A memory-mapped file connects disk content straight to RAM, which lets Java …

    • Java Memory Mapped Files for High-Performance IO

      Mar 20, 2025 · Memory-mapped files are particularly useful for high-performance I/O scenarios, such as processing large datasets, implementing shared memory, or working with random …

    • Java MappedByteBuffer - Read Memory-mapped Files

      Jan 25, 2022 · Learn about Java memory-mapped files and learn to read and write content from a memory mapped file with the help of RandomAccessFile and MemoryMappedBuffer.